-
Notifications
You must be signed in to change notification settings - Fork 5
Backdrop Admin users
Users of Backdrop Admin can be created and managed using GOV.UK Signon application. To do this, you need to have user admin permissions; if you do, when you log in to GOV.UK Signon you'll see a link to Administer users; if you don't, you need to ask an administrator to enable your account to user administration.
To enable a new or an existing user to Backdrop Admin, tick the checkbox for Performance Platform in the permission list. The field Other Permissions can be left blank, as it is not used.
A user created using GOV.UK Signon cannot automatically access the upload pages in Backdrop Admin; they need to be enabled inside the application in order to gain access to the upload page for specific buckets.
Mapping of users to buckets is managed in the configuration file of the Write API. The actual configuration files are in alphagov-deployment and therefore changes to the configuration require a new deployment to be effective.
Users are configured in the PERMISSION block of the configuration file. Hereafter is an example.
PERMISSIONS = {
"a_user@digital.cabinet-office.gov.uk": [ 'bucket_one', 'bucket_two' ],
# ...
}Each entry in PERMISSIONS is a separate user: the user with the email in the key is enabled to the buckets in the value.
- The email must be exactly the same used in signon registration. Note that email addresses in signon are always lowercase, and so they must be here.
- The bucket names must be the internal names as they appear in the private URL of the bucket, which is usually different from the public URL