Setup Permissions

Update the configuration file using the following session settings.
Copy
The session config required are the following parameters.
Option
Notes
The name of the session cookie. This is used to identify the session cookie in the browser.
The seed used to generate the session ID. This is used to create a unique session id for each user. This should be a random string that is kept secret.
List of access routes for each role.
WARNING: By default all routes are open to all users, but setting the parameter will automatically blacklist all the routes that are not specified on the access list.
Update the configuration file again, using the following access settings.
Copy
The above configuration describes that admins have access to the home page, and all auth, admin, API routes. Regular users have access to the home page, and all auth, API routes. Guests have access to the home page, and all auth routes.
NOTE: You can set default roles for registered users in the configuration.