Ranger users, groups, and administrators
Ranger Usersync synchronizes users and groups from the directory of your Cloudera Anywhere Cloud platform into Ranger, so that you can grant policies to the same users and groups that sign in to Cloudera Unified Data Fabric.
User and group synchronization
Ranger Usersync reads the users and groups from the directory of your Cloudera Anywhere Cloud platform and adds them to Ranger. It runs every 10 minutes, so a user or group that you add to the directory can take up to 10 minutes to appear in Ranger. To see the synchronized users and groups, click Settings > Users or Groups in the Ranger Admin web UI. The User Source column shows whether a user is Internal, created in Ranger, or External, synchronized from the directory.
Grant policies to groups rather than to individual users where you can, so that access follows group membership in your directory.
Roles
A Ranger role is a named set of users and groups that you manage in Ranger. Use roles when the users who need the same access do not share a directory group, for example, a role for the data stewards of several business units.
Administrators
Ranger administrators can manage all services, policies, users, groups, roles, and audits. A user becomes a Ranger administrator in either of the following ways:
- When you deploy Cloudera Unified Data Fabric, you add the user name to the Access Control Administrators field of the engine configuration. The field takes a comma-separated list of user names. For more information, see Configuring the Cloudera Unified Data Fabric engine.
- After deployment, an administrator assigns the user the authz-role-admin application role in the Anywhere Cloud Console.
To assign an application role, go to , open the user, and click the Application Roles tab. In Engine Type, select Cloudera Unified Data Fabric, and in Engine Instance, select the Cloudera Unified Data Fabric instance. Then click Edit Roles and enable the role. The user must sign out and sign in again for the new role to take effect.
Cloudera Unified Data Fabric provides the following application roles. Each role gives the user the matching role in Ranger:
| Role | Ranger role | Access |
|---|---|---|
| authz-role-admin | Admin | Full administrative access to Cloudera Unified Data Fabric authorization. Users with this role are Ranger administrators and manage who gets which access, including policies and role assignments. Assign this role only to a small number of platform or security administrators. |
| authz-role-auditor | Auditor | Read-only access to Cloudera Unified Data Fabric authorization, for auditing. Users with this role can see who has access to what, but cannot change anything. Assign this role to compliance and security teams, so that they can verify access while the people who review access stay separate from the people who grant it. |
| authz-role-user | User | Standard access to Cloudera Unified Data Fabric, for people who use the product day to day. Users with this role cannot manage authorization. Assign this role to most users. |
The Cloudera Unified Data Fabric services also have administrator access to
Ranger, so that they can register their services and policies and read the policies
that they enforce. In the user list, these service users are identified with names
starting with spiffe://, or are the internal users
rangerusersync and rangertagsync, and have the
Admin role. Do not remove these service users or change
their roles.
To let other users manage part of the policies without making them administrators, select Delegate Admin in a policy. The users in that policy can then manage the policies for the same resources.
