File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
mir-module/src/main/resources/xsl Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <xsl : stylesheet version =" 1.0" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" xmlns : xalan =" http://xml.apache.org/xalan"
4
- xmlns : acl =" xalan://org.mycore.access.MCRAccessManager"
5
- xmlns : const =" xalan://org.mycore.user2.MCRUser2Constants"
6
- exclude-result-prefixes =" xsl xalan acl const" >
3
+ <xsl : stylesheet version =" 1.0" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes =" xsl" >
7
4
8
5
<xsl : import href =" xslImport:userProfileActionsBase:user-actions-base.xsl" />
9
6
14
11
<xsl : variable name =" isCurrentUser" select =" $CurrentUser = $uid" />
15
12
16
13
<xsl : if test =" (string-length($step) = 0) or ($step = 'changedPassword')" >
17
- <xsl : variable name =" isUserAdmin" select =" acl:checkPermission(const:getUserAdminPermission())" />
14
+ <xsl : variable name =" isUserAdmin" select =" document('checkPermission:POOLPRIVILEGE:administrate-users')/boolean = 'true'" />
15
+
18
16
<xsl : choose >
19
17
<xsl : when test =" $isUserAdmin" >
20
18
<a class =" btn btn-secondary"
You can’t perform that action at this time.
0 commit comments