Digital Asset Management for all your ProcessWire media

Basic Media Manager Permissions

Access

After installation, you will need to set up access controls to ensure your non-Superusers are able to use Media Manager.

During install, Media Manager creates two permissions:

  1. media-manager: Allows a non-Superuser to view and use Media Manager
  2. media-manager-settings: Allows a non-Superuser to edit Media Manager upload settings

Create a role (for example editor) and assign it at least the permission media-manager. Give your user the role with the permission media-manager. If you want that user to be able to change upload settings, you need to give their role the permission media-manager-settings. Make sure you understand the implications of this before assigning them such access.

Template-level access

Next, you will need to set up template-level permissions to complete access setup. Still in ProcessWire admin, head over to /setup/template/ and expand the group of templates tagged as mediamanager. You will find 6 templates:

  1. media-manager
  2. media-manager-audio
  3. media-manager-document
  4. media-manager-image
  5. media-manager-video
  6. media-manager-settings

Open each of these templates for editing.

For the template media-manager:

  1. In the Access Tab, make sure Yes is selected under managing view and edit access for pages using that template.
  2. Under the roles that can access pages using the template, in the row with the role you created above, tick view pages and edit pages.
  3. In the section about pages being searchable when user has no access, select Yes.
  4. Also select Yes under the setting to allow edit-related access to inherit to children.
  5. Hit save

Repeat steps 1, 2 and 5 above for the remaining 5 templates.

The user will now be able to user Media Manager.

There will be times when you need a bit more control on who can edit, publish, delete, upload etc, in Media Manager. For such cases, the following 5 permissions are available to you. Please note that if you need to use any of them you will need to first create that permission. Details on what each permission controls are covered in subsequent topics.

  1. Permission media-manager-upload.
  2. Permission media-manager-publish.
  3. Permission media-manager-lock.
  4. Permission media-manager-delete.
  5. Permission media-manager-edit.