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.
(Duplicate of https://www.drupal.org/node/2122793 - issue fixed and released in 7.x-1.0-beta3)
The settings page located at /admin/config/system/ga_stats is only accessible by the superuser (user 1). I am pretty sure this is because the access callback in ga_stats_menu is set to 'administer' which is not an assignable permission.
I am not providing a patch because I don't know if the author wants to provide their own admin permission for ga_stats or use some other existing permission.
I can patch this if requested.
Comment | File | Size | Author |
---|---|---|---|
#1 | ga_stats-7.x-1.0-beta2-permission-issue.patch | 513 bytes | attheshow |
Comments
Comment #1
attheshow CreditAttribution: attheshow commentedReally odd miss. Here's a patch.
Comment #2
jhodgdonThis patch works for me and is necessary in order to use this module, as stated in this bug report.
The better fix would be for this module to have its own permission, but at least with the patch in #1 you can get going.
Comment #3
jtbayly CreditAttribution: jtbayly commentedThere is an identical patch already in this older issue #1551296: Changing permissions from administer to administer site configuration. Since this one is named more clearly, I marked the old one as a duplicate of this one.
-Joseph
Comment #4
Grayside CreditAttribution: Grayside commentedFixed as part of #2122793: The Uber Issue: General refactor for goodness
Comment #6
wranvaud CreditAttribution: wranvaud at Phase2 commentedI'm pointing all 3 duplicate issues to the one that has been committed and released