cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Jatnieks <d...@datastax.com>
Subject Re: only grant select , but still can modify data
Date Wed, 05 Aug 2015 21:03:53 GMT
Hi Rock,

I was not able to reproduce this problem using C* 2.2 and DevCenter 1.4.
What versions are you using? Did you check that the DevCenter connection
properties are using the "readonly" account and that any existing
connection was closed and re-opened? Did you get the expected result with
cqlsh?

dan


On Mon, Aug 3, 2015 at 7:12 PM, rock zhang <rock@alohar.com> wrote:

> Hi All,
>
> I want to create a readonly account, so i run the following command
> following:
> http://docs.datastax.com/en/cassandra/1.2/cassandra/security/security_config_native_authenticate_t.html
>
> CREATE USER readonly WITH PASSWORD 'xxxx'  ;
>
> GRANT SELECT ON ALL KEYSPACES TO readonly;
>
> Then I login DevCenter  with readonly account , i still can modify the
> data, anyone knows why ?  Many thanks.
>
> I set keyspace system_auth replica as 6 since i have 6 nodes.
>
>
> Thanks
> Rock
>



-- 

<http://www.datastax.com/>

Dan Jatnieks
Software Engineer | danj@datastax.com

<https://www.linkedin.com/in/danjatnieks>
<https://www.facebook.com/datastax> <https://twitter.com/datastax>
<https://plus.google.com/+Datastax/about>
<http://feeds.feedburner.com/datastax> <https://github.com/datastax/>

<http://cassandrasummit-datastax.com/?utm_campaign=summit15&utm_medium=summiticon&utm_source=emailsignature>

Mime
View raw message