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
I've got my own authentication system built and running on my site, but I simply need a CMS to manage some content. Is there an easy way to disable ravel's authentication and just have it use Laravel's built in auth?
It all looked pretty hardcoded so I'm guessing not.
The text was updated successfully, but these errors were encountered:
Ravel is using the Auth class of Laravel for authentication, and if your custom authentication setup implements similar interface to Laravel core Auth class, then Ravel can actually use yours without much issues. However note that Ravel also uses ACL (Access Control List) of its own, which have dependency to the Auth Class.
However, since you have mentioned authentication system, in which I had a feeling that you are thinking of changing the process of authentication in terms of user groups permissions?
The current ACL of Ravel is very straight forward and can do most of the stuffs needed for a CMS access control. If you want to change the user groups and permission roles, you can simply modify the config under app/config/packages/raftalks/ravel/roles.php
The roles config file can be used to set the usergroups and what sort of actions that a usergroup can handle, if you want to add custom list of actions modify the array with your own list of actions, if you need to add more user groups or less, modify them in the config file.
After modifying, remember to run the command, php artisan ravel::sync_roles which will update the database with changes you have applied to config file. If you want more features, consider extending the ACL class of Ravel and add more methods to it and point the path to your custom ACL class by changing the aliases array key for 'Acl' under app/config/packages/raftalks/ravel/app.php
I've got my own authentication system built and running on my site, but I simply need a CMS to manage some content. Is there an easy way to disable ravel's authentication and just have it use Laravel's built in auth?
It all looked pretty hardcoded so I'm guessing not.
The text was updated successfully, but these errors were encountered: