Page instantiation protection by combined ruleset.#183
Closed
rene-d-menoto wants to merge 1 commit intoapache:wicket-7.xfrom
rene-d-menoto:wicket-7.x
Closed
Page instantiation protection by combined ruleset.#183rene-d-menoto wants to merge 1 commit intoapache:wicket-7.xfrom rene-d-menoto:wicket-7.x
rene-d-menoto wants to merge 1 commit intoapache:wicket-7.xfrom
rene-d-menoto:wicket-7.x
Conversation
There is currently no way to annotate a page with instantiation rules on multiple roles. It is possible to use an AuthorizeInstantiation. But this can only roles using an OR ruleset. With this annotation in use we are able to combine multiple OR rulesets in an AND relation. Example: A page can be instantiate only by users with ADMIN and DATABASE role.
Member
|
Created a ticket: https://issues.apache.org/jira/browse/WICKET-6265 |
Member
|
I've cherry picked this commit and applied it at |
Contributor
Author
|
Thanks for merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is currently no way to annotate a page with instantiation rules on
multiple roles. It is possible to use an AuthorizeInstantiation. But
this can only roles using an OR ruleset.
With this annotation in use we are able to combine multiple OR rulesets
in an AND relation.
Example:
A page can be instantiate only by users with ADMIN and DATABASE role.