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 built using the latest laravel technology, including native laravel notifications and authoritzation policies.


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


Snow McFox