User and group permissions
A permission determines what operations a user can perform and on which group of resources. It consists of a scope and a role.
A permission can be assigned to different entities: a control panel user, a service user, or a group. Multiple permissions can be assigned to a single entity.
Permissions can be assigned:
- when adding a user or group;
- when editing a user or group.
You can track user activity and the relevance of their access using the permissions overview.
Permissions can be exported as a JSON file and imported to other users or groups.
Scopes
A scope is a group of resources to which a permission is granted. A permission scope can be:
- account (
account) — all account resources, including resources of all projects; - projects (
project) — resources of selected projects.
Roles
A role is a set of predefined permissions that determine what actions a user can perform on resources of a specific type or account settings. A role grants access within the scope specified in the permission.
Depending on the user type, they can be assigned roles in different scopes. For more information about the capabilities of each role, see the Role reference guide.
Permissions overview
The permissions overview allows you to track user access. This helps conduct user audits and reduce the risk of account compromise.
To review permissions, in the Control panel, in the top menu, click IAM → Permissions overview. You can track the following metrics:
- privileged users who have maximum permissions in the account — a combination of permissions with the member and iam.admin roles;
- inactive users who have not authenticated in the account for more than 30 days;
- users with duplicated permissions who are assigned the same permissions individually and through a group;
- users who had failed login attempts in the last 30 days.
To display the list of users:
- by a specific metric — in the metric block, click ;
- by a custom filter — to the right of the search bar, click and configure the filter.
You can also export audit logs for a specific user.
Export user or group permissions
Permissions will be exported in a .json file.
Exported permissions can be imported:
- when adding a user or group;
- when editing a user or group.
Export user permissions
Export group permissions
-
In the Control panel, in the top menu, click IAM.
-
Go to the section with the required user type:
- Control panel users — for users with access to the control panel;
- Service users — for service users.
-
Open the user page → Permissions and groups tab.
-
In the Permissions block, click Edit.
-
In the Access settings block, click Export.