-
Notifications
You must be signed in to change notification settings - Fork 19
Admin
Dave Stewart edited this page May 21, 2017
·
9 revisions
Sketchpad has some basic functionality to set administrative privileges.
Sketchpad installs a permissions file to:
storage/sketchpad/admin.json
It contains the following settings:
{
"setup": true,
"settings": true
}
You can manually edit these values to false
to prevent Setup being re-run, or the Settings page from showing.
If you want to override settings per user, you can set values in AppServiceProvider::boot()
which Sketchpad will merge with the above settings when it loads:
SketchpadServiceProvider::set('admin.settings', false);
SketchpadServiceProvider::set('admin.setup', false);