On 7/11/06, Green, Chris chris.green@landg.com wrote:
How can I create a new 'Group' name to enable me to give specific users certain privileges.
Be careful, because the group field in the database is only 16 characters! It is also possible to create groups in using a custom AuthPlugin. For example, for one of the wikis I maintain, during user login, a query is made to a remote web service, which returns group membership for a user. I use the $wgUser->addGroup() functions, etc, to make sure MediaWiki is synchronized with this list. Unfortunately, groups populated this way and which are not explicity defined in the $wgGroupPermissions array don't show up in the edit user special page. This is a minor inconvenience and could be fixed within the function that gets all group names (can't remember where that is right now, but is referenced somewhere in the user edit special page source code).
Greg