ASF Bugzilla – Attachment 8038 Details for
Bug 22895
[PATCH] <req:isUserInRole> upgrade to support multiple roles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for xml\request.xml (documentation for the tag)
request.txt (text/plain), 2.52 KB, created by
Matthew Sgarlata
on 2003-09-02 18:57:19 UTC
(
hide
)
Description:
Patch for xml\request.xml (documentation for the tag)
Filename:
MIME Type:
Creator:
Matthew Sgarlata
Created:
2003-09-02 18:57:19 UTC
Size:
2.52 KB
patch
obsolete
>Index: request.xml >=================================================================== >RCS file: /home/cvspublic/jakarta-taglibs/request/xml/request.xml,v >retrieving revision 1.11 >diff -u -r1.11 request.xml >--- request.xml 1 Dec 2002 17:39:34 -0000 1.11 >+++ request.xml 1 Sep 2003 01:34:47 -0000 >@@ -11,6 +11,7 @@ > --> > <!-- The name here is used in the HTML <meta name="author"...> tag --> > <author>Glenn Nielsen</author> >+ <author>Matthew Sgarlata</author> > </properties> > > <!-- The following defines elements uses both to create the taglib >@@ -531,11 +532,11 @@ > <display-name>isUserInRole</display-name> > > <description> >- Test whether the remote user is in a role. >+ Test whether the remote user is in the specified role(s). > </description> > > <summary> >- Test whether the remote user is in a role. >+ Test whether the remote user is in the specified role(s). > </summary> > <availability>1.0</availability> > <restrictions>None</restrictions> >@@ -544,8 +545,8 @@ > <name>role</name> > <required>yes</required> > <rtexprvalue>no</rtexprvalue> >- <description> >- Name of role to test remote user with. >+ <description> >+ Role or comma-separated list of roles to test remote user with. > </description> > <availability>1.0</availability> > </attribute> >@@ -556,7 +557,7 @@ > <rtexprvalue>no</rtexprvalue> > <description> > If value is set to <b>false</b> the isUserInRole tag includes body >- of tag if user is not in role. Default value is <b>true</b>. >+ of tag if user is not in role(s). Default value is <b>true</b>. > </description> > <availability>1.0</availability> > </attribute> >@@ -573,6 +574,21 @@ > </req:isUserInRole> > <req:isUserInRole role="admin" value="false"> > The remote user is not in role "admin". >+</req:isUserInRole> >+]]> >+ </code> >+ </usage> >+ <usage> >+ <comment> >+ Display whether the remote user is in role "admin" or the role "superuser" >+ </comment> >+ <code> >+<![CDATA[ >+<req:isUserInRole role="admin,superuser"> >+ The remote user is in role "admin" or in the role "superuser". >+</req:isUserInRole> >+<req:isUserInRole role="admin,superuser" value="false"> >+ The remote user is neither in the role "admin" nor in the role "superuser". > </req:isUserInRole> > ]]> > </code>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22895
:
8037
| 8038