How to retrieve user permissions (claims) in version 2.1.0. since it's removed from the user principal #17052
Kees-Schouten
started this conversation in
General
Replies: 1 comment 4 replies
-
I'm afraid what's in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since Orchard 2.1.0 the user principal permission claims are removed. The user role claims are still available though.
My app authenticates using OpenId.
What is the best way to retrieve those. I need a list of the user permissions in our frontend application.
I have found some code which does something like that, see:
OrchardCore.Roles.Controllers.AdminController.GetInstalledPermissionsAsync
I'm hoping there's something out of the box.
Beta Was this translation helpful? Give feedback.
All reactions