]> scripts.mit.edu Git - www/raw.git/blob - faq/130.mdwn
Import from TextPattern
[www/raw.git] / faq / 130.mdwn
1 [[!meta title="Can I grant permissions to users based on moira lists?"]]
2 You can automatically add users to
3 [MediaWiki groups](http://www.mediawiki.org/wiki/Manual:User_rights)
4 based on membership in AFS groups.
5
6 1)
7 [Authenticate users with certificates](http://scripts.mit.edu/faq/129/how-do-i-authenticate-users-with-certificates)
8
9 \2) Copy the
10  [Moira extension](http://web.mit.edu/scripts/www/mediawiki-auth/Moira.php)
11  to `extensions/Moira.php`
12
13 \3) Add the following to `LocalSettings.php`:
14
15     require_once('extensions/Moira.php');
16     $moiraGroup['your-acl'] = array('bureaucrat','sysop');
17     $moiraGroup['other-acl'] = array('ninja');
18     # other group configurations
19
20 Please note that this code is not supported by scripts. We provide
21 this only as a convenience to our users. Feel free to modify the
22 extension to suit your needs.
23
24
25