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

Commit 6b7566e

Browse files
committed
Inform that a workspace does have a permission mask.
1 parent bef9de5 commit 6b7566e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/core/classes/class.AJXP_XMLWriter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,9 @@ public static function writeRepositoriesData($loggedUser)
678678
}
679679
}
680680
$roleString.='acl="'.$merged->getAcl($repoId).'"';
681+
if($merged->hasMask($repoId)){
682+
$roleString.= ' hasMask="true" ';
683+
}
681684
}
682685
$st .= "<repo access_type=\"".$repoObject->accessType."\" id=\"".$repoId."\"$rightString $streamString $slugString $isSharedString $roleString><label>".SystemTextEncoding::toUTF8(AJXP_Utils::xmlEntities($repoObject->getDisplay()))."</label>".$descTag.$repoObject->getClientSettings()."</repo>";
683686
}

0 commit comments

Comments
 (0)