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 autologout AHAH callbacks require the "access content" permission and I submit that there is no need for this. Lets say I create a role called "user moderator" ... the only permission that user might have is "create user" (or whatever). What does access content have to do with auto logging out?
The attached patch removes the access callback function
Comment | File | Size | Author |
---|---|---|---|
#1 | autologout-perms.patch | 1.01 KB | bleen |
autologout-perm.patch | 622 bytes | bleen | |
Comments
Comment #1
bleen CreditAttribution: bleen commentedThis is a better patch as it does check for logged in users
Comment #2
johnennew CreditAttribution: johnennew commentedI agree! Patch committed.
Comment #3
johnennew CreditAttribution: johnennew commentedAdded backport to 6.x-4.x branch.