You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vovodroid (JIRA)" <ji...@apache.org> on 2015/08/10 17:14:46 UTC

[jira] [Issue Comment Deleted] (CASSANDRA-10022) Add INSERT permission

     [ https://issues.apache.org/jira/browse/CASSANDRA-10022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vovodroid updated CASSANDRA-10022:
----------------------------------
    Comment: was deleted

(was: bq.Cassandra makes no distinction meaningful distinction between INSERT, UPDATE, and DELETE queries
Internally yes, but from external point of view there is much difference between add new data and change existing.

bq.I don't see a way to make it non-confusing.
Non-confusing for who? I guess it's quite clear: INSERT permission allow only perform INSERT as if "IF NOT EXIST" specified, so forcing this condition (making INSERT behavior like MySQL counterpart). Probably we can call it ADD, or ADDNEW, or INSERTNEW or something like this to make it clearer.

bq.LWT updates are not a security mechanism
Yes, but it can be used in such way. That's why I would like to add INSERT permission (to make issues less confusing )))).)

> Add INSERT permission
> ---------------------
>
>                 Key: CASSANDRA-10022
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10022
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Vovodroid
>
> Hi,
> currently there is MODIFY permission in C*. It would be nice to add specific INSERT permission, that would act as 'IF NOT EXIST' option specified.
> Imagine distributed application (e.g. mobile), that each its instance should add something to table, but shouldn't be able to alter/delete existing data.
> Regards.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)