Manage resource collection assignments
You can manage resource collection assignments in two ways:
- Direct assignment: Assign a collection to individual users, unassign it, and set an expiration for each assignment.
- Collection policy: Define a policy for a collection that automatically assigns the collection to all users who match the criteria that you specify.
Users with any of the following statuses can be assigned to a collection:
- Active
- Staged
- Locked out
- Password expired
- Password reset
After you enable the Certify resource collections - Resource campaigns and Certify resource collections - User campaigns features, you can run access certification campaigns to review and revoke access to resource collections. Certify resource collections - Resource campaigns and Certify resource collections - User campaigns are Early Access features. See Enable self-service features.
Before you begin
- Sign in as a super admin or an admin with the following permissions:
- Manage applications
- Manage collections
- Edit application's user assignments
-
Edit groups' application assignments or Edit users' application assignments.
See Custom admin roles and Role permissions.
- Ensure that you're assigned to the Okta Access Requests app.
Manage direct assignments
Use direct assignment to give specific users access to a collection, or to give access that expires.
Assign a resource collection to a user
-
In the Admin Console, go to .
- Search for the collection and click View.
- Click the Assignments tab and then click Assign users.
- Search for the user to whom you want to assign the collection and click their entry. Their name is added to the list of selected users.
- Optional. Repeat the previous step to assign more users to the resource collection.
- Click Save. A message appears to confirm that the collection is assigned to the user.
Unassign a resource collection from a user
-
In the Admin Console, go to .
- Search for the collection and click View.
- Click the Assignments tab.
- Search for the user to unassign and click Unassign from their action menu.
- Click Unassign. A message appears to confirm that the collection was unassigned from the user.
Set an expiration for a resource collection
Follow these steps to set the time after which a user loses their access to a resource collection. You can set an expiration only for users who were assigned the collection directly. To remove access that a collection policy grants, edit the policy's assignment rule.
-
In the Admin Console, go to .
- Search for the collection and click View.
- Click the Assignments tab.
- Search for the user and click Edit expiration from their action menu.
- You can choose to have the user never lose access or have their access expire after a specific date and time.
- Select Never to allow the user to always access the collection.
- Select On to set an expiration date and time after which the user loses access to the collection. Enter the date, time, and time zone of the expiration. The Assignment Source column of the Assignments tab displays the remaining time before a user's access expires.
- Click Save.
Manage collection policies
A collection policy automatically assigns a resource collection to every user whose profile attributes match the criteria that you define. Users get access automatically when their profile attributes match the criteria, so an admin doesn't have to assign the collection to each user.
How collection policies work
- Each collection can have one policy, and each policy has one assignment rule.
- An assignment rule contains up to 10 conditions. Each condition is based on a user profile attribute, such as Department, Cost center, or Last name.
- Conditions in an assignment rule are joined by AND. A user must match every condition to be assigned the collection.
- Within a condition, you can specify up to 50 values. These values are joined by OR. A user matches a condition if their attribute matches any of the condition's values.
- Okta assigns the collection to users who match the assignment rule.
Collection policy assignments and direct assignments work independently. Users can be assigned the same collection both ways.
Create a collection policy
-
In the Admin Console, go to .
- Search for the collection and click View.
- Go to the Collection policy tab.
- Click Add rule.
- Enter a name for the assignment rule.
- In the User scope section, select a user profile attribute, such as Cost center. Select an operator, such as Is, enter a value, and then select Enter. The value appears with an x that you can click to remove it.
- Optional. Enter another value for the condition and select Enter. Each value that you add is an OR match for that attribute.
- Optional. Click Add condition to add another attribute and values.
- Optional. In Preview user, select a user, and then click Preview to check whether the user is included in the user scope.
- Click Save.
Edit a collection policy
You can edit an existing collection policy to make updates as needed.
-
In the Admin Console, go to .
- Search for the collection and click View.
- Go to the Collection policy tab.
- Edit the conditions or values in the assignment rule.
- Optional. In Preview user, select a user, and then click Preview to check whether the user is included in the user scope.
- Click Save. Users assigned through the policy whose attributes no longer match are unassigned, and users whose attributes now match are assigned the collection.