Skip to content
Discussion options

You must be logged in to vote

Are you on the latest source? Because there have been quite some changes with identity.

  • Create role is POST /api/roles
  • Get permissions for a role is GET /api/roles/{roleId}/permissions
  • There's no roleclaims endpoint anymore.
  • Instead there's a 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.
  • If you're looking to get the permissions assigned to the current user there's GET /api/personal/permissions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iammukeshm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants