shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-417) allow basic templating in permission annotation matching parameters
Date Thu, 07 Jul 2016 15:13:11 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366256#comment-15366256
] 

ASF GitHub Bot commented on SHIRO-417:
--------------------------------------

GitHub user bdemers opened a pull request:

    https://github.com/apache/shiro/pull/27

    WIP: SHIRO-417 Allow for basic templating in permission annotation matching parameters

    
    First pass at applying patch attached to SHIRO-417
    TODO: Needs a few more unit tests
    
    Moving to a WIP pull request to make sure this messes well with SHIRO-314

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

    $ git pull https://github.com/bdemers/shiro SHIRO-417

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

    https://github.com/apache/shiro/pull/27.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 #27
    
----
commit 5bccfff3ab0a531d2f7c1fe6066933b86653e29d
Author: Brian Demers <bdemers@apache.org>
Date:   2016-07-07T15:10:41Z

    SHIRO-417 Allow for basic templating in permission annotation matching parameters
    
    First pass at applying patch attached to SHIRO-417
    TODO: Needs a few more unit tests
    
    Moving to a WIP pull request to make sure this messes well with SHIRO-314

----


> allow basic templating in permission annotation matching parameters
> -------------------------------------------------------------------
>
>                 Key: SHIRO-417
>                 URL: https://issues.apache.org/jira/browse/SHIRO-417
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>              Labels: patch, patch-with-test
>         Attachments: SHIRO-417-2.patch, SHIRO-417.patch
>
>
> Here the idea:
> {code}
>    @RequiresPermissions("{name}:foo")
>     public void retrieve(final @PermissionParam("name") String name) {
>         ...
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message