Skip to content

TASK - RBAC AuthZ - Implement endpoint to validate users on role assignations #232

@rodmgwgu

Description

@rodmgwgu

Related Discovery: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/6060310529/Spike+-+M2+-+Endpoints+for+new+Admin+Console+designs

During the role assignment flow, we need a way to validate a list of usernames or emails to see if the users exist and are active.

First, research if there is already an endpoint that we can use for this, if so, use that instead.

If there is none, implement it.

Spec:

POST /api/authz/v1/users/validate

  • Body params (json):
    • users: Array of strings containing usernames or emails to validate
  • Only users with manage permissions can call this endpoint.

Metadata

Metadata

Labels

verawoodReleased in Verawood

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions