Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit b3b2464

Browse files
committed
Root group role: do not show "ROLE_..." parameters, even if they have scope "Role".
1 parent b5c57bc commit b3b2464

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ public function switchAction($action, $httpVars, $fileVars)
717717
foreach ($nodes as $node) {
718718
$pId = $node->parentNode->parentNode->attributes->getNamedItem("id")->nodeValue;
719719
$origName = $node->attributes->getNamedItem("name")->nodeValue;
720+
if($roleId == "AJXP_GRP_/" && strpos($origName, "ROLE_") ===0 ) continue;
720721
$node->attributes->getNamedItem("name")->nodeValue = "AJXP_REPO_SCOPE_ALL/".$pId."/".$origName;
721722
$nArr = array();
722723
foreach ($node->attributes as $attrib) {

0 commit comments

Comments
 (0)