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:
- media-manager: Allows a non-Superuser to view and use Media Manager
- 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:
- media-manager
- media-manager-audio
- media-manager-document
- media-manager-image
- media-manager-video
- media-manager-settings
Open each of these templates for editing.
For the template media-manager:
- In the Access Tab, make sure Yes is selected under managing view and edit access for pages using that template.
- 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.
- In the section about pages being searchable when user has no access, select Yes.
- Also select Yes under the setting to allow edit-related access to inherit to children.
- Hit save
Repeat steps 1, 2 and 5 above for the remaining 5 templates.
The user will now be able to user Media Manager. Next, we enable tagging of media in the Media Library.