mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix category picker visibility to show only permitted categories based on local permissions (#3333)
This commit is contained in:
committed by
GitHub
parent
5055eec2df
commit
8645cdc76d
@@ -40,6 +40,7 @@
|
|||||||
"items":
|
"items":
|
||||||
[
|
[
|
||||||
<#list results as row>
|
<#list results as row>
|
||||||
|
<#if row.item.hasPermission("Read")>
|
||||||
{
|
{
|
||||||
"type": "${row.item.typeShort}",
|
"type": "${row.item.typeShort}",
|
||||||
"parentType": "${row.item.parentTypeShort!""}",
|
"parentType": "${row.item.parentTypeShort!""}",
|
||||||
@@ -75,6 +76,7 @@
|
|||||||
"nodeRef": "${row.item.nodeRef}"<#if row.selectable?exists>,
|
"nodeRef": "${row.item.nodeRef}"<#if row.selectable?exists>,
|
||||||
"selectable" : ${row.selectable?string}</#if>
|
"selectable" : ${row.selectable?string}</#if>
|
||||||
}<#if row_has_next>,</#if>
|
}<#if row_has_next>,</#if>
|
||||||
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user