Remove dependency on the existence of 'administrator' role

Created on 23 October 2025, 3 months ago

Problem/Motivation

Error message when trying to active the module:
"Unable to install Media Download Tracker due to unmet dependencies: views.view.media_download_tracker (user.role.administrator)"
I created a temporary 'administrator' role just to activate the module and it worked.

Steps to reproduce

Try to activate module via UI, receive the message above; notice the module is not activated.

Proposed resolution

Change Views' Access from role: 'administrator' role (not always present in all installations) to a Permission: "access site reports" (or any other proper one).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil dtabach

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024