fix: add missing permission policy config

This commit is contained in:
alistair3149 2021-04-19 14:22:15 -04:00
parent 013cfbb259
commit 66a9a29bbf
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 7 additions and 0 deletions

View file

@ -79,6 +79,7 @@ Name | Description | Values | Default
`$wgCitizenEnableStrictReferrerPolicy` | Enable or disable `strict-origin-when-cross-origin` [referrer policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) header, should be used in conjunction with [`$wgReferrerPolicy`](https://www.mediawiki.org/wiki/Manual:$wgReferrerPolicy) as that only outputs the meta tags | `true` - enable; `false` - disable | `false` `$wgCitizenEnableStrictReferrerPolicy` | Enable or disable `strict-origin-when-cross-origin` [referrer policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) header, should be used in conjunction with [`$wgReferrerPolicy`](https://www.mediawiki.org/wiki/Manual:$wgReferrerPolicy) as that only outputs the meta tags | `true` - enable; `false` - disable | `false`
`$wgCitizenEnableFeaturePolicy` | Enable or disable [Feature Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) | `true` - enable; `false` - disable | `false` `$wgCitizenEnableFeaturePolicy` | Enable or disable [Feature Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) | `true` - enable; `false` - disable | `false`
`$wgCitizenFeaturePolicyDirective` | The string of your Feature Policy directive | See the [Feature Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) page | `$wgCitizenFeaturePolicyDirective` | The string of your Feature Policy directive | See the [Feature Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) page |
`$wgCitizenEnablePermissionsPolicy` | Enable or disable Permissions Policy | `true` - enable; `false` - disable | `false`
`$wgCitizenPermissionsPolicyDirective` | The string of your Permissions Policy directive | | `$wgCitizenPermissionsPolicyDirective` | The string of your Permissions Policy directive | |
### Webapp manifest ### Webapp manifest

View file

@ -634,6 +634,12 @@
"descriptionmsg": "citizen-config-featurepolicydirective", "descriptionmsg": "citizen-config-featurepolicydirective",
"public": true "public": true
}, },
"EnablePermissionsPolicy": {
"value": false,
"description": "Enable or disable Permissions Policy",
"descriptionmsg": "citizen-config-enablepermissionspolicy",
"public": true
},
"PermissionsPolicyDirective": { "PermissionsPolicyDirective": {
"value": "", "value": "",
"description": "The string of your Permissions Policy directive", "description": "The string of your Permissions Policy directive",