Assigning principals to policies
The Principals page of a custom policy displays a list of principals in your organization assigned to the policy and lets you add or remove them.
To open the Principals page, on the policy page, click Manage in the Assigned principals card. Changes on this page apply immediately, and you don't need to save the policy.
Principals can include:
Users: individual human users in your organization who have AI access.
Groups: groups of users in your organization who have AI access. Assigning a policy to a group applies it to every member, including members of nested groups.
Service accounts: non-human identities in your organization that have AI access.
You can assign a user, group, or service account to one or more AI policies, remove them from a policy, and view which policies they are assigned to. When a principal is assigned to multiple policies, effective settings are calculated according to certain rules.
Users and service accounts must be granted AI access before any policy applies to them. If the AI access is revoked, the principal remains assigned to the policy, but the policy settings no longer apply to them. When the principal regains AI access, the policy settings apply again.
Direct and group-based policy assignment
A user can be assigned to a policy directly, through one or more groups, or both. If a user is a member of a group, the policy automatically applies to them when you assign that group to the policy. The policy continues to apply to the user as long as at least one of these assignments remains, and it stops only when you remove all of them.
Groups can be nested. Members of a child group are also members of its parent group, so assigning a parent group to a policy also assigns its child groups.
A credit limit defined by a custom policy applies to every member of an assigned group, including users who join the group later. Removing the group from the policy, or removing a user from the group, returns them to the limit they would otherwise have. For details, see Credit limit sources.
Manage assignments
View principals assigned to a policy
In the sidebar, under Air Governance, select Policies.
If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.
In the table, click the policy name to open its page. If you are already on the policy page, proceed with the next step.
In the Assigned principals card at the top of the policy page, click Manage.
Select the Users, Groups, or Service accounts tab.
The table displays the principals assigned to the policy. You can search principals by name, and on the Users tab, also by email. On the Users and Groups tabs, the Also in other policies column shows the other custom policies to which the principal is assigned. If the column contains more than one policy, it lists the first one and shows a +N indicator for the rest. Hover over this indicator to see the other policies.
On the Groups tab, the Members column shows the group's total member count, including members it gains through nested groups.
Assign principals to a policy
In the sidebar, under Air Governance, select Policies.
If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.
In the table, click the policy name to open its page. If you are already on the policy page, proceed with the next step.
In the Assigned principals card at the top of the policy page, click Manage.
In the upper right corner, click Assign and select Users, Groups, or Service accounts.
In the dialog, select one or more users, groups, or service accounts in the dropdown. To select all listed principals that are not yet assigned, click Select all N.
Click Assign to confirm.
A success message appears in the lower right corner. The selected principals are assigned to the policy. It may take a few minutes for the changes to take effect.
Remove principals from a policy
In the sidebar, under Air Governance, select Policies.
If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.
In the table, click the policy name to open its page. If you are already on the policy page, proceed with the next step.
In the Assigned principals card at the top of the policy page, click Manage.
Select the Users, Groups, or Service accounts tab.
In the table, find the principal you want to remove, click
in the corresponding row, and select Remove.
To remove multiple principals, select them using the checkboxes in the first column and click Remove users, Remove groups, or Remove service accounts on the toolbar below the table.
In the dialog, click Remove to confirm the action.
A success message appears in the lower right corner, and the selected principals are removed from the policy. If the user still belongs to a group assigned to this policy, including through a nested group, the policy continues to apply to them. For details, see Direct and group-based policy assignment. It may take a few minutes for the changes to take effect.