scripts.mit.edu

MIT SIPB Script Services for Athena

Can I grant permissions to users based on moira lists?

You can automatically add users to MediaWiki groups based on membership in AFS groups. Once you have the MITAuth extension deployed, you are able to use the groups as a criterion called APCOND_IN_MOIRA_GROUP in MediaWiki standard autopromotion mechanism . For example, in order to make all members of AFS group “test” administrators (i.e. put them into MediaWiki group “sysop”), you need the following LocalSettings.php line:

$wgAutopromote['sysop'] = array( APCOND_IN_MOIRA_GROUP, 'test' );
Previous:
Next:
© 2004-2020, the SIPB scripts.mit.edu project.
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.

You are currently connected to busy-beaver.mit.edu.