Skip to content
Dave Stewart edited this page May 21, 2017 · 9 revisions

Sketchpad has some basic functionality to set administrative privileges.

Admin file

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.

Per-user overrides

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);
Clone this wiki locally