Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3374,6 +3374,13 @@ |
3375 | 3375 | |
3376 | 3376 | /** |
3377 | 3377 | * Permission keys given to users in each group. |
| 3378 | + * This is an array where the keys are all groups and each value is either: |
| 3379 | + * a) An array of the format (right => boolean) |
| 3380 | + * b) An array of the format (right => namespace => boolean) |
| 3381 | + * |
| 3382 | + * The second format is used to support per-namespace permissions. |
| 3383 | + * Note that this feature does not fully work for all permission types. |
| 3384 | + * |
3378 | 3385 | * All users are implicitly in the '*' group including anonymous visitors; |
3379 | 3386 | * logged-in users are all implicitly in the 'user' group. These will be |
3380 | 3387 | * combined with the permissions of all groups that a given user is listed |
— | — | @@ -3384,14 +3391,10 @@ |
3385 | 3392 | * unable to perform certain essential tasks or access new functionality |
3386 | 3393 | * when new permissions are introduced and default grants established. |
3387 | 3394 | * |
3388 | | - * If set to an array instead of a boolean, it is assumed that the array is in |
3389 | | - * NS => bool form in order to support per-namespace permissions. Note that |
3390 | | - * this feature does not fully work for all permission types. |
3391 | | - * |
3392 | 3395 | * Functionality to make pages inaccessible has not been extensively tested |
3393 | 3396 | * for security. Use at your own risk! |
3394 | 3397 | * |
3395 | | - * This replaces wgWhitelistAccount and wgWhitelistEdit |
| 3398 | + * This replaces $wgWhitelistAccount and $wgWhitelistEdit |
3396 | 3399 | */ |
3397 | 3400 | $wgGroupPermissions = array(); |
3398 | 3401 | |