Room attributes define the classification model for ABAC-managed rooms. They represent the resource-side conditions used during access evaluation and are matched against user attributes synchronized from LDAP. Before any room can be governed by ABAC, its required attributes and allowed values must first be defined here.
Room attributes act as a controlled vocabulary for room restrictions. Only values defined at this level can later be applied to rooms, ensuring consistency, validation, and auditability across the system.
Manage room attributes
Required permissions:
To access this section, admins need the Manage ABAC configuration permission (to see the ABAC admin area at all) and the Manage ABAC room attributes permission (to view and edit the Room attributes tab). Both can be assigned at Manage → Workspace → Permissions by editing the relevant role.
To manage global room attributes, navigate to Manage → Workspace → Attribute-based access control → Room attributes. This section displays the central attribute registry used by all ABAC-managed rooms across the workspace.
The Room attributes tab provides a searchable list of all existing attributes and their allowed values. Each entry contains:
Name: the attribute identifier used by ABAC policies
Value: the full set of allowed values that may be assigned to rooms
For example:
A
departmentattribute may include values such asengineering,financeetc.A
employmentTypeattribute may include values such asfullTime,Contractoretc.
These attributes do not grant access on their own. They function strictly as room-side constraints, which are later enforced by matching them against LDAP-synchronized user attributes.
Create a new room attribute
New room attributes are created from the Room attributes tab and become immediately available for use across all ABAC-managed rooms. To create a new attribute:
Open the Room attributes tab and select New attribute.
Enter a value in the Name field.
Enter a value in the Values field and select Add value.
Repeat until all required values have been added.
Select Save to finalize the attribute.
Once saved, the attribute becomes part of the global ABAC attribute repository and can be applied to rooms immediately.
Attribute validation rules
Room attributes enforce strict validation to prevent misconfiguration and ensure predictable enforcement behavior.
Attribute names must conform to the following pattern:
^[A-Za-z0-9_-]+$This means:
Only alphanumeric characters, underscores (
_), and hyphens (-) are permitted.Spaces, symbols, and special characters are rejected.
Invalid names trigger an immediate validation error and prevent saving.
Attribute names are case sensitive and must exactly match the attribute name configured in the LDAP mapping settings.
This restriction ensures compatibility with policy evaluation and backend enforcement.
Attribute value requirements
Each attribute must contain at least one allowed value. Values are added individually and validated at the time of entry.
Empty values are rejected.
Duplicate values are not permitted.
The system displays a “Values required” error if no values are defined.
Attribute values are case sensitive and must exactly match the values imported from LDAP.
Values represent the exact classification options that administrators can later assign to rooms.
Edit an existing room attribute
Once a room attribute has been created, its structure is locked, but its values can still be managed. To edit an existing attribute:
Locate the attribute you want to modify.
Click the kebab menu (⋮) at the end of the row and select Edit.
The Edit attribute dialog opens with the following behavior:
The attribute name is editable.
Existing attribute values cannot be modified directly.
You can:
Add new values
Delete existing values
This guarantees referential integrity for any rooms already using this attribute. After adding or removing values, click Save to apply the changes.
Delete a room attribute
You can permanently delete a room attribute when it is no longer needed. To delete an attribute:
Locate the attribute you want to modify.
Click the kebab menu (⋮) at the end of the row and select Delete.
A confirmation dialog appears asking you to confirm the action.
Important behaviour:
If the attribute is not assigned to any rooms, it can be deleted safely with no impact on existing rooms.
If the attribute is assigned to one or more rooms, deletion is blocked and you must first remove it from all rooms before it can be deleted.
Deletion is permanent and cannot be undone.
Search for attributes
At the top of the Room attributes tab, use the Search attributes field to quickly locate an attribute. The search works across:
Attribute names
Attribute values
This allows you to find attributes even when you only remember one of their values.
In an ABAC-managed room, the Topic, Announcement, and Description fields are disabled in the room information edit view. To change these values, remove the ABAC attributes from the room first.
Manage ABAC rooms
The Rooms tab is where administrators bring private rooms under Attribute-Based Access Control (ABAC) enforcement. Once a room is ABAC-managed, its membership is controlled strictly by user attributes synchronized from LDAP. Manual room management is restricted, and access is enforced automatically and continuously.
From this view, you can:
Search and filter ABAC-managed rooms
Add new rooms to ABAC control
Assign required access attributes and values
View real-time membership counts
Remove rooms from ABAC enforcement
Understand the rooms list
Each row in the Rooms table represents one ABAC-managed room and displays the following information:
Room: The name of the channel or team under ABAC control
Members: The number of users who currently satisfy the ABAC rules
Subject attributes: The attribute used to control access
Attribute values: The values required for access
Actions menu (⋮): Used to manage or remove the room from ABAC
Only private channels and private teams appear here. Public rooms cannot be managed by ABAC.
Search and filter rooms
At the top of the Rooms tab, the search bar allows you to find rooms using multiple criteria. You can search by:
Room name
Attribute name
Attribute value
Next to the search bar, a filter dropdown lets you scope your search to:
All: Searches across rooms, attributes, and values
Rooms: Searches only by room name
Attributes: Searches only by attribute name
Values: Searches only by attribute values
This makes it easy to locate ABAC-managed rooms even in large environments.
Add a room to ABAC
To begin enforcing ABAC on a room, click Add room.
Step 1: Select the room
In Room to be ABAC-managed, select a private channel or private team.
Important behavior:
This list only shows eligible rooms
A room appears here only if:
It is private
It is not already ABAC-managed
It still uses default access control
If this field shows “Empty”, it means no rooms currently meet these conditions. In that case, create a new private room first.
Step 2: Assign required attributes
After selecting a room:
Choose an Attribute from the dropdown
Select one or more Attribute values
Click Add attribute to attach the rule
Repeat as needed to add additional required attributes
Each attribute added acts as a mandatory access condition. A user must match all configured attributes and values to remain a member of the room.
Step 3: Finalize the configuration
Adding a room does not show a membership preview. When you click Save, every member who does not hold all of the attribute values is removed from the room, including you if you do not hold them.
After you assign the attributes, click Save. The room immediately becomes ABAC-managed, enforcement begins, and the notification Access to <room name> is now restricted to attribute-compliant users confirms it.
Membership is evaluated automatically:
Users who match the rules remain or are added
Users who do not match the rules are removed within seconds
How enforcement works for ABAC rooms
Once a room is under ABAC control:
Users are automatically added and removed based on LDAP attributes
Administrators cannot manually add users unless they already satisfy all attribute rules
When you run
/invite-all-fromin an ABAC-managed room, it adds only the members of the other room who hold the room's attributes. Members who do not hold them are not added.Membership is continuously re-evaluated on:
LDAP syncs
Room attribute changes
ABAC reactivation
This guarantees Zero-Trust enforcement where access is always attribute-driven.
Edit an ABAC-managed room
You can change the attributes of a room that’s already ABAC-managed. You can’t change which room it is, only its attributes.
To edit a room’s attributes:
Go to Manage → Workspace → Attribute-based access control → Rooms.
Find the room, click the kebab menu (⋮) at the end of its row, and select Edit. The Edit room panel opens and shows the room’s current attributes and values.
In the panel, you can:
change an attribute’s values
add more attributes
remove attributes
Click Review changes to see who will lose access, then click Save.
To discard your changes, click Cancel. Nothing is saved until you confirm.
Review the membership impact
Changing a room’s attributes can remove members who don’t hold the new values. Before you save, Rocket.Chat shows you who will lose access, so you can check the result first.
After you change the attributes and click Review changes:
Check the list of members who will lose access. To see who keeps access instead, switch the filter to Retains access.
If the result isn’t what you expected, click Back to adjust the attributes. Your changes are kept.
When you’re ready, click Save, then confirm.
Members whose access can’t be verified are shown as Access undetermined and are also removed when you save.
If the change would remove everyone, including you, Rocket.Chat asks you to confirm first. If you remove yourself, you won’t be able to open the room again.
The preview isn’t available when you add a new room from Add room. Members who don’t hold the attributes are removed as soon as you save.
Manage attributes from the room
Room owners can change a room’s attributes directly from the room, without going to the admin settings. This works in private channels and teams that have ABAC attributes or are locked by enforcement.
To change a room’s attributes:
In the room, click the Attribute-based access control icon (shield) in the room toolbar. If you don’t see it, check the kebab menu (⋮). In a locked room, you can also click Manage attributes in the notice at the bottom of the room.
The panel shows the room’s current attributes. Click Manage attributes.
Add, change, or remove attributes and values, then click Review changes.
Check who will lose access, then click Save.
Who can do this
Room owners and admins can manage attributes by default. To give other roles this ability, assign them the Edit room ABAC attributes permission. ABAC administrators can always manage room attributes.
Limits
You can only add values you hold yourself. For example, if you don’t hold
department: finance, you can’t add it to a room. ABAC administrators aren’t limited. An admin can turn this limit off with the Restrict room creators and editors to attributes they hold setting.While Enforce ABAC across all workspace rooms is on, you can’t remove attributes that every room is required to have.
If the restriction is turned off and you add a value you don’t hold, you’re removed from the room along with everyone else who doesn’t hold it, and you can’t open the room again.
Remove a room from ABAC management
To stop enforcing ABAC on a room, open the kebab menu (⋮) and select Remove.
The Remove room from ABAC management dialog appears with the message Removing <room name> from ABAC management may result in unintended users gaining access. It does not show a membership preview.
This warning exists because:
Once ABAC enforcement is removed, the room reverts to standard Rocket.Chat access control
Users who do not meet the former ABAC conditions may retain access
Click Remove to proceed, or Cancel to keep the room under ABAC control.
Convert an ABAC-managed room to public
ABAC applies only to private rooms. While ABAC is enabled, the Private setting of an ABAC-managed room or team cannot be turned off, and its hint reads ABAC-managed rooms must stay private. While ABAC is disabled, you can make the room public: a warning tells you that the room's ABAC attributes will be removed, and confirming removes them. Switching the room back to private does not restore them, you must re-assign the attributes at Manage → Workspace → Attribute-based access control → Rooms.
Room changes that remove ABAC attributes
Some room changes remove all ABAC attributes from the room:
Converting a private channel to a team
Converting a team to a channel
Moving a room into a team
Before the change, Rocket.Chat warns you that the room’s attributes will be removed. If you continue, re-assign the attributes afterwards at Manage → Workspace → Attribute-based access control → Rooms. While Enforce ABAC across all workspace rooms is on, the room stays locked until you do.
To make these changes, open the room’s info panel, click More, and select Convert to team, Convert to channel, or Move to team.
Only room members can make these changes. A workspace administrator who isn’t a member of the room can’t, and the room keeps its attributes.
Each removal is recorded on the Logs tab.
ABAC logs and audit trail
The Logs tab provides a complete audit trail of all ABAC-related activity across the workspace. This audit log is designed for security monitoring, compliance verification, and operational troubleshooting, ensuring that every change to ABAC configuration is fully traceable.
Administrators use this view to answer critical questions such as:
Who created or modified an attribute?
When was a room placed under ABAC enforcement?
Which user removed an attribute or updated a room’s access policy?
All actions recorded here are generated automatically by Rocket.Chat and cannot be altered.
Understanding log entries
Each log entry contains the following fields:
User: The account that performed the action. System-initiated events (such as automatic evaluations) appear as System.
Action: What happened (for example, Created, Updated, or Removed).
Room: The name of the room the action applies to. This includes Automatic removal entries that the system creates and All attributes deleted entries.
ABAC element: The object affected by the change (for example, Room or Room membership).
Element name: The item within the ABAC element that the action applies to. For a change to a room's attributes, it shows the attribute key. For an Automatic removal, it shows the username of the member removed from the room. For All attributes deleted, it shows Empty.
Timestamp: The precise date and time when the action occurred.
This structure allows administrators to reconstruct a complete change history of ABAC enforcement across the workspace.
Time-based filtering
The Logs view supports full date-range filtering and quick time presets to make investigations faster.
You can filter by:
Today
Yesterday
This Week
Previous Week
This Month
All time
You can also manually select a custom start date and end date using the date pickers at the top of the Logs tab. This is especially useful during incident response, audits, or access reviews.
For App developers
Apps built on the Apps Engine can read a room's ABAC attributes by declaring the
abac.readpermission in theirapp.jsonmanifest. With theabac.writepermission, an app can assign ABAC attributes to the private rooms it creates. See the App Permission System page for the full list of app permissions and how to add them.