Assign permissions to roles
To assign Redis ACLs to a data access role:
-
Go to Data Access Control > Roles and either select
+
to create a new role or point to an existing role and select the pencil icon to edit it. -
In the Associations section of the Edit role or Create new role screen, you can select
+
to create a new association or point to an existing association and select the pencil icon to edit it. -
Select one or more databases from the Databases list.
-
To set the role’s level of access to the selected databases, pick a Redis ACL from the list.
-
Select the check mark to confirm the association.
-
Select Save role.
When you assign a user-defined ACL rule to a role and associate it with one or more databases, Redis will verify that the ACL rule will work with the selected databases. Verify that the syntax of the ACL rule is correct if you receive an error.
After you create a role, you can assign it to a user. Users with this role can access the databases according to the role’s associated Redis ACLs. For more information, see Assign roles to users.
To assign Redis ACLs to a role for an Active-Active subscription, see Active-Active access roles.