You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2020/01/21 09:18:00 UTC

[jira] [Resolved] (SHIRO-469) Wrong description of JdbcRealm#setPermissionsQuery

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

Francois Papon resolved SHIRO-469.
----------------------------------
    Resolution: Resolved

> Wrong description of JdbcRealm#setPermissionsQuery
> --------------------------------------------------
>
>                 Key: SHIRO-469
>                 URL: https://issues.apache.org/jira/browse/SHIRO-469
>             Project: Shiro
>          Issue Type: Bug
>          Components: Realms 
>    Affects Versions: 1.2.2
>            Reporter: Radek Skokan
>            Priority: Minor
>             Fix For: 1.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Javadoc for JdbcRealm#setPermissionsQuery says:
> "... and return a row
>      * per permission with three columns containing the fully qualified name of the permission class, the permission
>      * name, and the permission actions (in that order)..."
> However the DEFAULT_PERMISSIONS_QUERY returns just 1 column, the permission name:
> protected static final String DEFAULT_PERMISSIONS_QUERY = "select permission from roles_permissions where role_name = ?";



--
This message was sent by Atlassian Jira
(v8.3.4#803005)