Skip to content

Task - RBAC AuthZ - Implement all assignments endpoint for Admin Console #260

Closed

Description

@rodmgwgu

Implement the assignments endpoint to be used in the main team members page in the admin console.

Spec:

GET /api/authz/v1/assignments/

Query params:

  • page_size: For pagination
  • page: For pagination
  • search: For searching
  • sort_by: role, org, scope, full_name, username, email
  • order: the order to sort by ("asc", "desc")
  • orgs: Comma separated value, The orgs to query assignments for
  • roles: Comma separated value, The roles to query assignments for
  • scopes: Comma separated value, The scopes to query assignments for. NOTE: Need to url encode for course keys.

Response fields:

Please note: The response fields are wrapped around the standard pagination response.

  • full_name: str
  • username: str
  • email: str
  • is_superadmin: bool
  • role: str
  • org: str
  • scope: str
  • permission_count: int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions