[teiid-commits] teiid SVN: r3461 - branches/7.4.x/documentation/reference/src/main/docbook/en-US/content.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Fri Sep 9 13:10:27 EDT 2011


Author: shawkins
Date: 2011-09-09 13:10:27 -0400 (Fri, 09 Sep 2011)
New Revision: 3461

Modified:
   branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/scalar_functions.xml
Log:
TEIID-1747 clarified the meaning of role name.

Modified: branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/scalar_functions.xml
===================================================================
--- branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/scalar_functions.xml	2011-09-09 17:05:51 UTC (rev 3460)
+++ branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/scalar_functions.xml	2011-09-09 17:10:27 UTC (rev 3461)
@@ -2083,10 +2083,12 @@
     with the security system.</para>
     <section>
     	<title>HASROLE</title>
-    	<para>Whether the current caller has the role roleName.</para>
+    	<para>Whether the current caller has the Teiid data role roleName.</para>
     	<para><synopsis>hasRole([roleType,] roleName)</synopsis></para>
         <para>roleName must be a string, the return type is boolean.</para>
-        <para>The two argument form is provided for backwards compatibility. roleType is a string and must be 'data'</para>
+        <para>The two argument form is provided for backwards compatibility. roleType is a string and must be 'data'.</para>
+        <para>Role names are case-sensitive and only match Teiid <xref linkend="dataroles"/>. 
+        JAAS roles/groups names are not valid for this function - unless there is corresponding data role with the same name.</para>
     </section>
   </section>
   <section>



More information about the teiid-commits mailing list