In Drupal 6 and below, users must be assigned the 'administer site configuration' to use the site in offline mode. In Drupal 7, there is new separate permission for this: 'Use the site in maintenance mode'.
When trying to masquerade as a user with the 'Use the site in maintenance mode' permission, but not the 'administer site configuration' permission, I get this error:
It is not possible to masquerade in off-line mode as [user] does not have the administer site configuration permission. Please set the site status to "online" to masquerade as [user].
In this instance Masquerade should be checking for 'Use the site in maintenance mode' instead.
Working on a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | masquerade-site_offline_permission-1293748-1.patch | 2.58 KB | jenna.tollerson |
Comments
Comment #1
jenna.tollersonThis is the first time I've created a patch using git (instead of the old patch -p0 style) or used git at all. I hope everything is in order.
Comment #2
andypostSure "Use the site in maintenance mode" make sense!
Commited 3416339..2c2b924 master -> master