With TRAX LRS, you can easily manage user accounts and related permissions thanks to the concept of "roles".
Each user account has a single role for the entire application, and this role determines what the user is allowed to do inside the application.
The only predefined role in TRAX LRS is Admin
, which gives all the permissions.
To define a role, go to the Accounts > Roles page, create a role, give it a name and check the matching permissions.
This permission allows to create, modify and delete HTTP clients and related accesses.
This permission allows to create, modify and delete user accounts.
This permission allows to create, modify and delete roles.
This permission allows to create, modify and delete entities.
This permission allows to create, modify and delete stores.
This permission allows to explore xAPI data.
This permission allows to explore xAPI data and to delete statements and logs.
To define a user, go to the Accounts > Users page, create a user with the following information:
php artisan admin:create
The following parameters may be used to avoid questions.
Option | Example of value | Description |
---|---|---|
email@example.test | The email that identifies the account | |
--password | 12345678 | A password for this account |
php artisan admin:update
The following parameters may be used to avoid questions.
Option | Example of value | Description |
---|---|---|
email@example.test | The email that identifies the account | |
--password | 12345678 | A password for this account |
php artisan admin:delete
The following parameters may be used to avoid questions. No confirmation is asked when the email is provided in the command line.
Option | Example of value | Description |
---|---|---|
email@example.test | The email that identifies the account |
php artisan admin:list