The admin user uid 1 should be allowed to edit things, just as they can see the site during maintenance mode.

Comments

joachim’s picture

Title: uid should be allowed to edit » uid 1 should be allowed to edit

Oops. Fixed title.

BarisW’s picture

Assigned: Unassigned » BarisW

Ah, good point. Will fix it!

BarisW’s picture

Status: Active » Fixed

Fixed in 6.x-1.x-dev

Status: Fixed » Closed (fixed)

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

jim0203’s picture

Title: uid 1 should be allowed to edit » Add permission giving control over which users can edit
Status: Closed (fixed) » Active

I've re-opened this issue as it seems that rather than uid 1 alone having edit permissions, the module should create its own permission which can be granted to any user. Once a user has this permission they can then edit content on the site, irrespective of whether the site is in read-only mode or not.

This module is great, by the way. Thanks!

BarisW’s picture

Status: Active » Fixed

This should already work. But instead of creating its own permissions, I'm re-using the core permissions 'access site in maintenance mode'.
This has already been fixed in D6 & D7. Do you have any problems with it?

jim0203’s picture

I'm using 6.x-1.1 and can't see that permission: doing an in-page search on the permissions page gives no results.

Either way, I think it would be good to have a separate "override read only mode" permission that would allow users with that permission to edit the site when it is in read-only made but not access it when it is in maintenance mode.

Status: Fixed » Closed (fixed)

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