You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2023/03/06 08:07:00 UTC

[jira] [Updated] (SHIRO-417) allow basic templating in permission annotation matching parameters

     [ https://issues.apache.org/jira/browse/SHIRO-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Papon updated SHIRO-417:
---------------------------------
    Fix Version/s: 2.0.0
                       (was: 2.0.0-alpha)

> 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
>            Priority: Major
>              Labels: patch, patch-with-test
>             Fix For: 2.0.0
>
>         Attachments: SHIRO-417-2.patch, SHIRO-417.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Here the idea:
> {code}
>    @RequiresPermissions("{name}:foo")
>     public void retrieve(final @PermissionParam("name") String name) {
>         ...
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org