Thank you so much. Thats work perfectly. Saved me a huge amount of time. We see only one drawback which should be easy enough to fix. When a user logs in, if they dont have "reader" access they get an error message saying "Login Required." We plan to override the message and say "Access Denied."
Regards!
Dion
From: "George Herbert" george.herbert@gmail.com Reply-To: Wikimedia developers wikitech-l@wikimedia.org To: "Wikimedia developers" wikitech-l@wikimedia.org Subject: Re: [Wikitech-l] Disabling users Date: Tue, 29 Aug 2006 14:47:15 -0700
Have you tried:
Create a new group "readers", with "read" userright. Disable "read" rights for "users" group. Put your open content in the $wgWhitelistRead variable (login, main pages, etc); make sure anything sensisitve isn't in $wgWhitelistRead. To "activate" a new account, a burecrat has to add them to group "readers". To "deactivate" a new account, a burecrat removes them from group "readers".
See: http://meta.wikimedia.org/wiki/Help:User_rights LocalSettings.php includes/DefaultSettings.php
I haven't tested this quite yet, but was going to this week for an internal corporate MediaWiki I'm running.
If it doesn't work, let me know, so I can figure something else out. 8-)
-- -george william herbert george.herbert@gmail.com _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l