Role Permission #522
Answered
by
fretje
RathavitheySo
asked this question in
Q&A
Role Permission
#522
-
Currently, we have a CRUD of role feature but I have some clarifications about role permission like I can't find GetPermissionsByRoleId after we create a new role (By default all permission are not checked). API endpoint and step to create new role and role claim:
|
Beta Was this translation helpful? Give feedback.
Answered by
fretje
Feb 25, 2022
Replies: 1 comment
-
Are you on the latest source? Because there have been quite some changes with identity.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iammukeshm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you on the latest source? Because there have been quite some changes with identity.
POST /api/roles
GET /api/roles/{roleId}/permissions
PUT /api/roles/{roleId}/permissions
where you send all the permissions you want to assign to that specific role. Permissions not sent will be removed.GET /api/personal/permissions
.