tabPortal
This commit is contained in:
@@ -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`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user