roles¶
Client API for role-based-access-control roles and assignments in Nexus.
- qnexus.client.roles.assign_team(
- resource_ref: BaseRef,
- team: TeamRef,
- role: Literal['Administrator', 'Contributor', 'Reader', 'Maintainer'] | Role,
Assign a role-based access control assignment to a team.
- qnexus.client.roles.assign_user(
- resource_ref: BaseRef,
- user_email: EmailStr,
- role: Literal['Administrator', 'Contributor', 'Reader', 'Maintainer'] | Role,
Assign a role-based access control assignment to a user.
- qnexus.client.roles.assignments(
- resource_ref: BaseRef,
Check the assignments on a particular resource.
- qnexus.client.roles.get(
- name: Literal['Administrator', 'Contributor', 'Reader', 'Maintainer'],
Get a single
Role
by name.
- qnexus.client.roles.get_all() DataframableList[Role] ¶
Get the definitions of possible role-based access control assignments.