Permissions Usage

View Permissions

The usage is easy, inside the panel, you will see a Permissions List button, click it, and then you'll be seeing a list of all permissions. Here you can navigate to manage them.

Authorize Users

To determine if user has a permission, you can check it simply as following code:

if (\Laralum\Users\Models\User::findOrFail(Auth::id())->hasPermission('permission.slug')) {
    // User has permission 'permission.slug'
}

More info about use it in Laralum Users Documentation

Did you know?

Laralum is found to be the only CMS that still gives you the ability to manage the views and the website the way you like, without any problems with the correct functionality of it.


Donations

Please consider donating if you liked the project, we currently have no funding and we're spending a lot of time maintaining and developing this project.


The creators

Èrik Campobadal Forés

Aitor Riba Archilla


Major Contributors

Krishan König

Laraketai

Snow McFox