dotKernel & Casbin #300
tasselchof
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to introduce another topic for discussion. While we successfully addressed a previous issue through middleware integration, I wanted to share an idea. Role-Based Access Control (RBAC) may not always be the most suitable approach.
In our case, we required a more flexible permissions system, leading us to opt for Casbin for management. Casbin supports various permission models, and you can find more information at php-casbin/php-casbin. Perhaps exploring alternatives to RBAC could prove beneficial.
Additionally, using Casbin offers another advantage – the relatively easy synchronization of permissions between the frontend application (as mentioned in my previous issue, developed with vue.js) and the backend.
Beta Was this translation helpful? Give feedback.
All reactions