Closed (outdated)
Project:
Demonstration site (Sandbox / Snapshot)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2009 at 00:30 UTC
Updated:
3 Jan 2018 at 19:50 UTC
Jump to comment: Most recent
Comments
Comment #1
sunThese were (partially) the dirty hacks I applied:
However, just for reference - it doesn't need to be that dirty.
Comment #2
sunAlso, we want to disallow changes to demo settings and demo snapshots while the module is enabled. I fear that most of the logic would have to be triggered by a custom variable in settings.php.
Comment #3
meba commentedThis is exactly what I was thinking when using the module.
My idea: introduce a settings.php "password" to the secure module, allowing you access only if you type correct password - therefore even uid 1 won't be able to make snapshots and reload them
Comment #4
sunHey, that's not a bad idea. :)
Comment #5
meba commentedYes :-)
The only question is how to do that. Either make all admin forms two step, which might be a PIAS to code or introduce a _GET param to the form?
Third option might be to introduce something like update.php free access:
$demo_admin_free_access = TRUE/FALSE;
Comment #6
gaurav.kapoor commented