diff --git a/client/src/views/portal/fields/tab-list.js b/client/src/views/portal/fields/tab-list.js index 05e5287980..831df892b2 100644 --- a/client/src/views/portal/fields/tab-list.js +++ b/client/src/views/portal/fields/tab-list.js @@ -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`); }); } } diff --git a/schema/metadata/scopes.json b/schema/metadata/scopes.json index 9887e5ab9a..d6652bab78 100644 --- a/schema/metadata/scopes.json +++ b/schema/metadata/scopes.json @@ -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"]