By helikscreations on
Hello,
I was wondering if there was any way to give access to a selected group of users from a drupal developped website while the site is going under maintenance, without giving them an Administrator status ?
I'm working on a website who several writers will be contributing to. I've put the site off-line for now as it is still under construction and development, but I would like that the writers can access it and create nodes, and I would still be the only administrator.
If anyone can help, that would be great !
Thanks.
Comments
No Prob
when the site is offline all you need to do is add "?q=user" to the end of the url.. it will take them to the login screen, once someone is logged in, they have full access to the site.
so.. recap
Original url: "http://www.something.com/"
new url: "http://www.something.com/?q=user"
log in and add content
--
When God is with you, who can stand against you?
Thanks ! but…
… I already tried that earlier, and unfortunately, once logged in, if you're not an administrator, you will only see the "Site under maintenance" page.
Any other idea ?
That doesn't help for
That doesn't help for allowing users other than the first user access to the site while in off-line mode. If your logging in as a user other than user = 1 then you will still get the off-line mode message after logging in.
One option may be to use the front page module. Add a front page that says the site is offline and remove all blocks/menus from that page. Have the users access the URL that brucebanner suggested to login. Or you could keep the login block on the front page and redirect all users that isn't a writer to the offline page after logging in. Using roles might make this easier.
And there are probably holes in my suggestion since I haven't had your particular need yet. The only other alternative I would see is a custom module or hack core, which I wouldn't recommend.
Of course, others probably have better ideas/suggestions.
Yep.. just checked. jscoble
Yep.. just checked. jscoble is right, I change my opinion to what he said :)
--
When God is with you, who can stand against you?
Thank you very much, I'll
Thank you very much, I'll try that !