Last modified: 2010-05-15 15:48:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9272 - groups and users permission !!!
groups and users permission !!!
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
PC Windows XP
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-13 14:14 UTC by Ahmad
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Ahmad 2007-03-13 14:14:31 UTC
hi all... 
1. In localSting.php, I've created new group like followin :
   $wgGroupPermissions['ninja']['move']            = false;
   $wgGroupPermissions['ninja']['read']            = true;
   $wgGroupPermissions['ninja']['edit']            = false;
   but the users how belong to the "ninja"  group still can edit !!!! 

2. how can every new created user be added to a certain group automatically ?

3. how can I put group permission on pages, that each group can access just
those pages or namespace that it has access permission on it ?

waiting for your help
Comment 1 Brion Vibber 2007-03-13 14:19:16 UTC
1) Your ninja users also belong to the 'user' and '*' groups implicitly. These
groups normally have read and edit permissions.

2) Possibly some kind of hook or authentication plugin might work but there is
no explicit support for this.

3) This is not supported in MediaWiki.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-03-13 16:00:43 UTC
Slightly expanding on Brion's answers:

1) User permissions are always additive.  If a user belongs to multiple groups, they will have 
any permission if *any* of the groups has the permission, even if others don't.

3) Yet.  :P
Comment 3 Ahmad 2007-03-14 04:41:24 UTC
ThanX guys ...
and I did a temporary solution (i'm talkin about the first point) by switch all
the "user" and "*" permissions to FALSE, then start giving other group like
"bureaucrat", "sysop", "bot" and the new groups like "ninja" the rights each
group should has ... but I didn't find it as the optimal solution :oS ... I'm
wondering if you have another solution ?!...
anyway thanks again ...  
Comment 4 Ahmad 2007-03-14 08:53:51 UTC
and how can I prevent Main Page from being edited form users other than
administrator ?
Comment 5 Titoxd 2007-03-14 09:18:27 UTC
Have an administrator protect the page. See for details.

Note You need to log in before you can comment on or make changes to this bug.