Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The attached patch adds a permission check on the "Configure" link in the tray.
Comment | File | Size | Author |
---|---|---|---|
#3 | after patch.png | 13.37 KB | pratik_kamble |
#3 | Without patch.png | 15.41 KB | pratik_kamble |
environment_indicator-permission.patch | 1.11 KB | prudloff |
Comments
Comment #2
pratik_kambleComment #3
pratik_kamble@prudloff, thanks for the patch. I have reviewed the patch. It LGTM.
Without the patch, user is able to see the Configure link in the tray for the user who doesn't have permission to access the page.
After applying the patch user is not able to see the configure link in the tray.
PFA for reference.
Comment #4
pratik_kambleComment #6
pratik_kamble