# Command line interface

The command line interface helps you interact with permissions more easily.

# Store permissions in database

This command collects and stores all the permissions defined in the Nova resource that are not already stored in the database.

php artisan acl:reload

Command Options

Option Description
--clear Delete exist permissions and recreate them

# Make super admin

This command assigns all permissions with the all key to a user

php artisan acl:owner example@test.com

Command Options

Option Description
--field Search for user by different field name

Example 2: Make super admin by id number

php artisan acl:owner 5 --field=id