shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devendra Mani (JIRA)" <>
Subject [jira] [Commented] (SHIRO-450) Create a new tag <hasAnyPermission> on the shiro-web project
Date Wed, 25 Jun 2014 09:48:24 GMT


Devendra Mani commented on SHIRO-450:

I think instead of using the shiro tld from this you can use your own tld by creating a custome
tag lib

<?xml version="1.0" encoding="UTF-8"?>
<taglib version="2.0" xmlns="" 
  xsi:schemaLocation=" web-jsptaglibrary_2_0.xsd">
<description>Displays body content only if the current Subject (user)
'has' (implies) the specified permission (i.e the user has the specified ability).

> Create a new tag <hasAnyPermission> on the shiro-web project
> ------------------------------------------------------------
>                 Key: SHIRO-450
>                 URL:
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authorization (access control) , Web
>    Affects Versions: 1.2.1
>            Reporter: Harry Chan
>            Priority: Minor
>         Attachments:, shiro.tld
> In the Shiro web page:
> I found that there is a <hasAnyRole> tag but NO <hasAnyPermission> tag.
> I am wondering if there is a plan to implement the <hasAnyPermission> tag.

This message was sent by Atlassian JIRA

View raw message