User and team properties
In this section you will learn about user-specific permissions
Add attributes such as department, customer ID, or status to user and team records. A property stores a value; access changes only when a rule uses that value.
Add a Select property
Open Users → Users for a user property, or Users → Teams for a team property.
Select Add Property.
Choose Select as the property type.
Set Name to Status.
Under Specify options, replace the blank option with Active.
Select Add an Option and add Inactive.
Select Create, then populate the values for the relevant records.

Use this as a data-model example. A Status value of Inactive does not automatically disable a user's account.
Use properties in access rules
Define who can change properties used for authorization. A user should not be able to grant themselves access by changing their own customer ID or department.
Use stable identifiers, consistent types, and explicit behavior for missing values. If user and team properties use the same key, document which value the rule should use when they differ, then test that case.
For record restrictions, continue with Restrict access to records. For multiple customers, use Separate customer data.
Classic examples
Classic component visibility is covered in hiding components, and the existing customer portal guide demonstrates separating data. Visibility rules still need separate authorization checks.
Last updated
Was this helpful?