Manual:$wgGroupInheritsPermissions/de-formal
From Linux Web Expert
<translate> User rights, access control and monitoring</translate>: $wgGroupInheritsPermissions | |
---|---|
Groups that should inherit permissions from another group. |
|
<translate> Introduced in version:</translate> | 1.38.0 (Gerrit change 710134; git #6f01b0d0) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array of strings) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
This configuration parameter sets groups that should inherit permissions from another group.
This allows defining a group that inherits its permissions from another group without having to copy all the permission grants over. For example, if you wanted a manual "confirmed" group that had the same permissions as "autoconfirmed":
$wgGroupInheritsPermissions['confirmed'] = 'autoconfirmed';
Recursive inheritance is currently not supported. In the above example, confirmed will only gain the permissions explicitly granted (or revoked) from autoconfirmed, not any permissions that autoconfirmed might inherit.
Note only $wgGroupPermissions
, and $wgRevokePermissions
will be inherited, not $wgAddGroups
, $wgRemoveGroups
, $wgGroupsAddToSelf
, or $wgGroupsRemoveFromSelf
.