It seems the file role_watchdog.permissions.yml is missing.

I'm not sure which was the idea, but in case it could be useful, I would suggest the following permissions for the module:

  • 'administer role_watchdog' to allow access to the module settings form.
  • 'access role_watchdog reports' to allow access to the user related views.

Thank you!

CommentFileSizeAuthor
#2 3153074-2.patch3.47 KBgaurav.kapoor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markus_petrux created an issue. See original summary.

gaurav.kapoor’s picture

Status: Active » Needs review
FileSize
3.47 KB

@markus_petrux I have added the permissions, modified the routes and views with appropriate permissions, added dependency in info.yml file as well as removed the unwanted routes.

gaurav.kapoor’s picture

Please have a look and update the issue with your suggestion. Once done, I'll push this patch as well.

  • gaurav.kapoor authored 936005a on 8.x-1.x
    Issue #3153074 by gaurav.kapoor: Cannot grant 'administer role_watchdog...
gaurav.kapoor’s picture

Status: Needs review » Fixed

Since there have been some changes, please open up a new follow up issue(s) for your review and feedback. Thank you so much for working on this.

dwkitchen’s picture

Priority: Normal » Critical
Status: Fixed » Needs work

This patch added a new dependency on "drupa:user"

Note the missing "l"

This is a breaking change

  • gaurav.kapoor authored 28df65f on 8.x-1.x
    Issue #3153074 by gaurav.kapoor: Cannot grant 'administer role_watchdog...
gaurav.kapoor’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.