Page MenuHomePhabricator

groups and users permission !!!
Closed, InvalidPublic

Description

Author: abutmah

Description:
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 !!!!
  1. how can every new created user be added to a certain group automatically ?
  1. 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,


Version: 1.9.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz9272

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 9:37 PM
bzimport set Reference to bz9272.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Mar 13 2007, 2:14 PM
brion added a comment.Mar 13 2007, 2:19 PM
  1. Your ninja users also belong to the 'user' and '*' groups implicitly. These

groups normally have read and edit permissions.

  1. Possibly some kind of hook or authentication plugin might work but there is

no explicit support for this.

  1. This is not supported in MediaWiki.

ayg wrote:

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.

  1. Yet. :P

abutmah wrote:

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 ...

abutmah wrote:

and how can I prevent Main Page from being edited form users other than
administrator ?
regards,

titoxd.wikimedia wrote:

Have an administrator protect the page. See
http://meta.wikimedia.org/wiki/Help:Administration#Protection for details.