Skip to content

eligible-users api - restrict to global admins and project admins #433

Open
@ethanstrominger

Description

@ethanstrominger

Dependency

Overview

Ensure only valid users can use the API

API specification

/eligibile-users/

Action Items

  • permissions.py (& views.py): UserEligiblePermission
    • Validate project id.
    • views.py: Add as a permission to UserEligibleView
    • Check if user is a global admin or project admin. If not, return error.
    • If not a global admin, check that project admin is assigned to the specified project. If not, return errror.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🧊Ice Box

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions