Permissions in Headless CMS #11454
Replies: 4 comments 15 replies
-
You have OpenId scopes that you can also use as "roles" |
Beta Was this translation helpful? Give feedback.
-
@vitalybrandes permission should be always checked on server side apis on client side in browser (Blazor/angular/React/Vue) you really define/design user persona and their UI experience, and how you show/hide UI elements/screen based on what action their persona can perform @Skrypt suggest can use open id scopes and in your UI application you map that scope with persona UI actions Or you can define an api that returns you what actions a user can perform on given UI screen based on their OC permission |
Beta Was this translation helpful? Give feedback.
-
You can refer to EasyOC Then referring to the design of ABP, the dynamic API is introduced , |
Beta Was this translation helpful? Give feedback.
-
I will take a look this week. I need to work with OpenApi. If I have some suggestions I will post them here. https://github.com/ThisNetWorks/ThisNetWorks.OrchardCore.OpenApi This adds OpenApi tooling for Orchard Core. Though, when we are talking about GraphQL the common permissions are not checked. Right now, the GraphQL endpoint does not do mutations because of that matter. Removing JWT token encryption needs to be used carefully. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am building my project based on Orchard Core + Blazor / React.
I am wondering how to implement orchard permissions system from the UI side.
What will be the best concept to Authorize "add, edit, delete" btn in the UI based on orchard core permissions - not roles.
I do use openid for user authentication.
What will be the best way to "share" user permission with my UI? Both for React and Blazor?!
Beta Was this translation helpful? Give feedback.
All reactions