Implement assigned role management for role service #40

Open
opened 2025-09-04 07:14:53 +00:00 by hurui200320 · 0 comments
Member

After finishing #39, This ticket should implement the rest of the endpoints for role-service-v1:

  • assignRole(client: String, roleName: String, member: ClientRole.Id)
    • Assign member role to the given role.
  • deassignRole(client: String, roleName: String, member: ClientRole.Id)
    • Remove member role from the given role.
  • listAssignedRole(client: String, roleName: String): List<ClientRole.Id>
    • List the members of the given role
  • testUserHasRoles(userId: String, roles: List<ClientRole.Id>)

The ClientRole.Id is an object that only contains the name of role and the client it belongs to.

The unit tests are included.

After finishing #39, This ticket should implement the rest of the endpoints for `role-service-v1`: + `assignRole(client: String, roleName: String, member: ClientRole.Id)` + Assign member role to the given role. + `deassignRole(client: String, roleName: String, member: ClientRole.Id)` + Remove member role from the given role. + `listAssignedRole(client: String, roleName: String): List<ClientRole.Id>` + List the members of the given role + `testUserHasRoles(userId: String, roles: List<ClientRole.Id>)` The `ClientRole.Id` is an object that only contains the name of role and the client it belongs to. The unit tests are included.
hurui200320 added this to the V.01 milestone 2025-09-04 07:14:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
You do not have permission to read 1 dependency
Reference: clevermicro/user-management#40
No description provided.