http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99666

Revision: 99666
Author:   wikinaut
Date:     2011-10-13 01:40:16 +0000 (Thu, 13 Oct 2011)
Log Message:
-----------
chg default permission for viewing the OpenID dashboard: disallow for everyone 
except sysop

Modified Paths:
--------------
    trunk/extensions/OpenID/OpenID.php

Modified: trunk/extensions/OpenID/OpenID.php
===================================================================
--- trunk/extensions/OpenID/OpenID.php  2011-10-13 00:31:22 UTC (rev 99665)
+++ trunk/extensions/OpenID/OpenID.php  2011-10-13 01:40:16 UTC (rev 99666)
@@ -27,7 +27,7 @@
        exit( 1 );
 }
 
-define( 'MEDIAWIKI_OPENID_VERSION', '0.942-beta 20111012' );
+define( 'MEDIAWIKI_OPENID_VERSION', '0.943-beta 20111013' );
 
 $path = dirname( __FILE__ );
 set_include_path( implode( PATH_SEPARATOR, array( $path ) ) . PATH_SEPARATOR . 
get_include_path() );
@@ -294,13 +294,15 @@
 $wgAvailableRights[] = 'openid-dashboard-access';
 $wgAvailableRights[] = 'openid-dashboard-admin';
 
-# allow users to read access the dashboard
-$wgGroupPermissions['user']['openid-dashboard-access'] = true;
+# uncomment to allow users to read access the dashboard
+# $wgGroupPermissions['user']['openid-dashboard-access'] = true;
 
 # allow users to add or convert OpenIDs to their accounts
 $wgGroupPermissions['user']['openid-converter-access'] = true;
 
-# allow sysops to adminster the OpenID settings (under construction)
+# allow sysops to read access the dashboard and
+# allow sysops to adminstrate the OpenID settings (feature under construction)
+$wgGroupPermissions['sysop']['openid-dashboard-access'] = true;
 $wgGroupPermissions['sysop']['openid-dashboard-admin'] = true;
 
 $myResourceTemplate = array(


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to