Answer Posted / Madan Kumar
Roles in cqlsh are a way to manage permissions for users. Each role has a set of privileges associated with it, which determine what operations a user can perform on the cluster. The available roles are `system_user`, `system_admin`, and `system_schema`. You can set a user's role using the `GRANT` command.nnFor example:nn```sqlnGRANT ALL PRIVILEGES ON ALL KEYSPACES TO my_user WITH ROLE = system_admin;```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category