On 14/02/2008, sharmishtha gupta <sharmishtha.gupta(a)gmail.com> wrote:
Hi,
I made one group in DefaultSettings.php of name manager group. In this 10
members are there and each belong to different department.
So my requirement is how can i restrict 1st manager to edit or create pages
in the department of 2nd manager. where both manager belongs to same group
'manager' in /includes/DefaultSettings.php
Please give your suggestions.
Firstly, you shouldn't be editing DefaultSettings.php - make the
changes in LocalSettings.php. The main benefit of that is that they
won't be overwritten if you upgrade MediaWiki.
As for your specific question, I'm not quite sure what you mean. How
are you distinguishing the departments? If they are in different
namespaces, you can protect certain namespaces to be editable only by
members of certain groups (see
http://www.mediawiki.org/wiki/Manual:%24wgNamespaceProtection ),
although you would require a different group for each department,
rather than a single manager group (you can have both, of course).