From 2e47d41c7602e6d02c7277c31639021e5cfe47ac Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Mon, 14 Mar 2011 02:42:59 -0400 Subject: [PATCH] Import from TextPattern --- faq/130.mdwn | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 faq/130.mdwn diff --git a/faq/130.mdwn b/faq/130.mdwn new file mode 100644 index 0000000..e447986 --- /dev/null +++ b/faq/130.mdwn @@ -0,0 +1,25 @@ +[[!meta title="Can I grant permissions to users based on moira lists?"]] +You can automatically add users to +[MediaWiki groups](http://www.mediawiki.org/wiki/Manual:User_rights) +based on membership in AFS groups. + +1) +[Authenticate users with certificates](http://scripts.mit.edu/faq/129/how-do-i-authenticate-users-with-certificates) + +\2) Copy the + [Moira extension](http://web.mit.edu/scripts/www/mediawiki-auth/Moira.php) + to `extensions/Moira.php` + +\3) Add the following to `LocalSettings.php`: + + require_once('extensions/Moira.php'); + $moiraGroup['your-acl'] = array('bureaucrat','sysop'); + $moiraGroup['other-acl'] = array('ninja'); + # other group configurations + +Please note that this code is not supported by scripts. We provide +this only as a convenience to our users. Feel free to modify the +extension to suit your needs. + + + -- 2.45.2