You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings, thanks for your work. I need to use this plugin Dancer::Plugin::SimpleCRUD with Dancer::Plugin::Auth::RBAC because only the admin users can modify the information. However, i didn't find any way to do this. Can you help me?
The text was updated successfully, but these errors were encountered:
I've not done anything towards that; at some point, I'd like to make the SimpleCRUD plugin play along with the new Dancer::Plugin::Auth::Extensible I recently released (a replacement for D::P::Auth::RBAC, basically - designed to be simple and pleasant to use, and easy to extend).
Suggestions or contributions would be welcomed! In the meantime, whichever auth framework you're using, you could implement some checking in a before hook to look at the path being requested and see if that's one that should only be allowed to admin users.
When I have time to add some ties between D::P::SimpleCRUD and D::P::Auth::Extensible, I'd probably add options like require_login / require_role which would be fairly simple and obvious to use I think :)
Greetings, thanks for your work. I need to use this plugin Dancer::Plugin::SimpleCRUD with Dancer::Plugin::Auth::RBAC because only the admin users can modify the information. However, i didn't find any way to do this. Can you help me?
The text was updated successfully, but these errors were encountered: