From teiid-commits at lists.jboss.org Fri Sep 9 13:10:28 2011 Content-Type: multipart/mixed; boundary="===============1645249170350217493==" MIME-Version: 1.0 From: teiid-commits at lists.jboss.org To: teiid-commits at lists.jboss.org Subject: [teiid-commits] teiid SVN: r3461 - branches/7.4.x/documentation/reference/src/main/docbook/en-US/content. Date: Fri, 09 Sep 2011 13:10:27 -0400 Message-ID: <201109091710.p89HARM8012637@svn01.web.mwc.hst.phx2.redhat.com> --===============1645249170350217493== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/sc= alar_functions.xml Log: TEIID-1747 clarified the meaning of role name. Modified: branches/7.4.x/documentation/reference/src/main/docbook/en-US/con= tent/scalar_functions.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/s= calar_functions.xml 2011-09-09 17:05:51 UTC (rev 3460) +++ branches/7.4.x/documentation/reference/src/main/docbook/en-US/content/s= calar_functions.xml 2011-09-09 17:10:27 UTC (rev 3461) @@ -2083,10 +2083,12 @@ with the security system.
HASROLE - Whether the current caller has the role roleName. + Whether the current caller has the Teiid data role roleName. hasRole([roleType,] roleName) roleName must be a string, the return type is boolean. - The two argument form is provided for backwards compatibilit= y. roleType is a string and must be 'data' + The two argument form is provided for backwards compatibilit= y. roleType is a string and must be 'data'. + Role names are case-sensitive and only match Teiid . = + JAAS roles/groups names are not valid for this function - unless t= here is corresponding data role with the same name.
--===============1645249170350217493==--