0

i want to grant user update permission in Table and deny delete permission for this user.

Is there any way to accomplish this?

  • Isn't this like a textbook question? There must be a manual page for that somewhere. – Andriy M May 21 '16 at 23:37
1

I don't think this is possible natively. The Cassandra role-based permissions as shown here show that granting a user MODIFY includes both UPDATE (which is effectively INSERT) and DELETE. You can't select which one you want.

Check out this blog entry I found, though and see if there's anything useful there. It looks like you could do read or write only permissions. Maybe if you can do write-only permissions you can limit the user from being able to delete a table or keyspace.

Hope this helps point you in the right direction.

-em

  • i have two DC one of them in EC2 and the other in local the local DC for archiving data the DCin EC2 for 3 month only can disable delete from replication – Atef May 22 '16 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.