Git Product home page Git Product logo

Comments (1)

raftalks avatar raftalks commented on July 21, 2024

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

from ravel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.