diff --git a/apps/meteor/ee/server/settings/abac.ts b/apps/meteor/ee/server/settings/abac.ts index 1040a98fb437a..14be029d785d6 100644 --- a/apps/meteor/ee/server/settings/abac.ts +++ b/apps/meteor/ee/server/settings/abac.ts @@ -15,11 +15,19 @@ export function addSettings(): void { section: 'ABAC', i18nDescription: 'ABAC_Enabled_Description', }); + await this.add('ABAC_ShowAttributesInRooms', false, { + type: 'boolean', + public: true, + invalidValue: false, + section: 'ABAC', + enableQuery: { _id: 'ABAC_Enabled', value: true }, + }); await this.add('Abac_Cache_Decision_Time_Seconds', 300, { type: 'int', public: true, section: 'ABAC', invalidValue: 0, + enableQuery: { _id: 'ABAC_Enabled', value: true }, }); }, ); diff --git a/packages/i18n/src/locales/en.i18n.json b/packages/i18n/src/locales/en.i18n.json index cf5e2744234f2..dc41ddbd8eab1 100644 --- a/packages/i18n/src/locales/en.i18n.json +++ b/packages/i18n/src/locales/en.i18n.json @@ -23,6 +23,8 @@ "ABAC_Warning_Modal_Title": "Deactivate ABAC", "ABAC_Warning_Modal_Confirm_Text": "Deactivate ABAC", "ABAC_Warning_Modal_Content": "You will not be able to automatically or manually manage users in existing ABAC-managed rooms. To restore a room's default access control, it must be removed from ABAC management in <1>ABAC > Rooms.", + "ABAC_ShowAttributesInRooms": "Show ABAC attributes in rooms", + "ABAC_ShowAttributesInRooms_Description": "Display the ABAC attributes assigned to the room in the contextual bar", "abac-management": "Manage ABAC configuration", "abac_removed_user_from_the_room": "was removed by ABAC", "AI_Actions": "AI actions",