tabPortal

This commit is contained in:
Yurii
2026-01-06 18:06:30 +02:00
parent 926e951dfc
commit e52f886e3f
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ export default class extends TabListFieldView {
return true;
}
return !!this.getMetadata().get(`scopes.${tab}.aclPortal`);
return this.getMetadata().get(`scopes.${tab}.aclPortal`) ||
this.getMetadata().get(`scopes.${tab}.tabPortal`);
});
}
}
+4
View File
@@ -45,6 +45,10 @@
"description": "A permission level required for a user to have the scope available as a navbar tab. Examples: portal, massUpdate.",
"type": ["string", "null"]
},
"tabPortal": {
"description": "To allow the navbar tab for the portal even if aclPortal is false. As if v9.3.0.",
"type": "boolean"
},
"type": {
"description": "A template type of the entity. E.g. Base, BasePlus, Person, Company, CategoryTree, Event.",
"type": ["string", "null"]