Fix for "MNT-24776 : Category Picker Error when a User does not have Read Permissions to a Category"

(cherry picked from commit 626640ddc7)
This commit is contained in:
Debjit Chattopadhyay
2025-08-19 17:35:00 +05:30
parent 376514df67
commit 590209b299

View File

@@ -40,6 +40,7 @@
"items":
[
<#list results as row>
<#if row.item.hasPermission("Read")>
{
"type": "${row.item.typeShort}",
"parentType": "${row.item.parentTypeShort!""}",
@@ -75,6 +76,7 @@
"nodeRef": "${row.item.nodeRef}"<#if row.selectable?exists>,
"selectable" : ${row.selectable?string}</#if>
}<#if row_has_next>,</#if>
</#if>
</#list>
]
}