GitHub user rene-d-menoto opened a pull request:

    https://github.com/apache/wicket/pull/182

    Page instantiation protection by combined ruleset.

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rene-d-menoto/wicket master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/182.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #182
    
----
commit cfc63e4f9728f05d11288cc845ccfd51d00a7ed8
Author: René Dieckmann <git...@menoto.de>
Date:   2016-10-13T12:15:45Z

    Page instantiation protection by combined ruleset.
    
    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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to