Change-Id: If336aa351ee5dc4dc07f63cfac2a5d236e501718
}
}
},
+ "GrantPermissions": {
+ "type": "object",
+ "description": "Map of permissions granted to authorized consumers to their bundles, called 'grants'",
+ "patternProperties": {
+ "^[a-z]+$": {
+ "type": "object",
+ "patternProperties": {
+ "^[a-z]+$": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "GrantPermissionGroups": {
+ "type": "object",
+ "description": "Map of grants to their UI grouping",
+ "patternProperties": {
+ "^[a-z]+$": {
+ "type": "string"
+ }
+ }
+ },
"ImplicitGroups": {
"type": "array",
"description": "Implicit groups"
'HiddenPrefs',
'GroupPermissions',
'RevokePermissions',
+ 'GrantPermissions',
+ 'GrantPermissionGroups',
'ImplicitGroups',
'GroupsAddToSelf',
'GroupsRemoveFromSelf',
protected static $mergeStrategies = [
'wgGroupPermissions' => 'array_plus_2d',
'wgRevokePermissions' => 'array_plus_2d',
+ 'wgGrantPermissions' => 'array_plus_2d',
'wgHooks' => 'array_merge_recursive',
'wgExtensionCredits' => 'array_merge_recursive',
'wgExtraGenderNamespaces' => 'array_plus',