-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FeaturePolicy => PermissionPolicy #23825
Conversation
9123d20
to
3a935c7
Compare
acbb930
to
f65ce54
Compare
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 35702: failurecheckers
nodbShow full log
|
🏓 |
We already had the FeaturePolicy header. However this call got renamed to PermisionPolicy. Here we move this over. The old mechanism stays there it just won't get extended. So apps that use the FeaturePolicy will not stop to work. Signed-off-by: Roeland Jago Douma <[email protected]>
f65ce54
to
8d9769a
Compare
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
Rebased the branch. |
CI is red 🔴 |
@@ -35,6 +35,7 @@ | |||
* should require no modification at all for most use-cases. | |||
* | |||
* @since 17.0.0 | |||
* @depreacted 21.0.0 use \OCP\AppFramework\Http\PermissionPolicy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @depreacted 21.0.0 use \OCP\AppFramework\Http\PermissionPolicy | |
* @deprecated 28.0.0 use \OCP\AppFramework\Http\PermissionPolicy |
That typo appears a few more times.
* notice that Nextcloud ships already with sensible defaults and those policies | ||
* should require no modification at all for most use-cases. | ||
* | ||
* @since 21.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @since 21.0.0 | |
* @since 28.0.0 |
/** | ||
* @since 17.0.0 | ||
* @depreacted 28.0.0 Use setPermissionPolicy | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* @since 17.0.0 | |
* @depreacted 28.0.0 Use setPermissionPolicy | |
*/ | |
/** | |
* @since 28.0.0 | |
*/ |
As there is no feedback since a while I will close this ticket. |
We already had the FeaturePolicy header. However this call got renamed
to PermisionPolicy. Here we move this over. The old mechanism stays
there it just won't get extended. So apps that use the FeaturePolicy
will not stop to work.
Signed-off-by: Roeland Jago Douma [email protected]
Fixes #22792