Martin Wickman
Martin Wickman

Reputation: 19925

Is it possible to GRANT permission for just UPDATE?

According to the Cassandra docs, the MODIFY permissions allows full write permissions (INSERT, DELETE, UPDATE, TRUNCATE). I need to be able to specify just some of them, in this case, just UPDATE.

Is there some way to only allow UPDATE?

Upvotes: 1

Views: 355

Answers (1)

Peter Halliday
Peter Halliday

Reputation: 301

The current version of CQL packaged in Cassandra 2.0 and below do not allow for UPDATE only. This is partially because it wouldn't really be possible. An UPDATE with a TTL is the same as a DELETE. INSERT and UPDATE are essentially the same thing.

Upvotes: 2

Related Questions