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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11272, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9272 - groups and users permission !!!
groups and users permission !!!
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.9.x
PC Windows XP
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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
regards,
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 ?
regards,
Comment 5 Titoxd 2007-03-14 09:18:27 UTC
Have an administrator protect the page. See
http://meta.wikimedia.org/wiki/Help:Administration#Protection for details.

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


Navigation
Links