Changeset 3519


Ignore:
Timestamp:
09/03/13 14:24:42 (11 years ago)
Author:
andmor
Message:

Added keyword 'ALL' for when all users are authorized to access a schema.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.interface.rest/interface/isAuthorized.dpml

    r3513 r3519  
    2727                            <xsl:param name="debug"/>
    2828                            <xsl:template match="/">
    29                                 <b><xsl:value-of select="string(/sc:user/sc:role = $authorizedRoles/roles/role or /sc:user/@xml:id = $authorizedIDs/ids/id)"/></b>
     29                                <b><xsl:value-of select="string(/sc:user/sc:role = $authorizedRoles/roles/role or $authorizedIDs/ids/id = 'ALL' or /sc:user/@xml:id = $authorizedIDs/ids/id)"/></b>
    3030                            </xsl:template>
    3131                        </xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.