Changeset 33506 for main/trunk/greenstone3/web
- Timestamp:
- 2019-09-24T13:04:06+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl
r33348 r33506 401 401 </xsl:if> 402 402 <xsl:variable name="canDoEditing"> 403 <xsl:if test=" /page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">true</xsl:if>403 <xsl:if test="$isEditingTurnedOn = '1' and (/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor)))">true</xsl:if> 404 404 </xsl:variable> 405 405 <xsl:if test="$canDoEditing = 'true'">
Note:
See TracChangeset
for help on using the changeset viewer.