Database Reference
In-Depth Information
Also, normaluser can't grant permissions to itself. Only su-
peruser can!
4.
So, let's log in with superuser :
$CASSANDRA_HOME/bin/cqlsh -3 -u superuser -p
superuser
5.
Now, create a keyspace and grant permissions to normaluser :
// create keyspace.
create keyspace testkeyspace with replication
= { 'class' : 'SimpleStrategy' ,
'replication_factor' : 3};
// grant all permissions on 'testkeyspace' to
normaluser.
grant all on keyspace testkeyspace to
normaluser;
Upon issuing permission to normaluser , the server will store
its permissions in the permissions table under the system_auth
keyspace.
6.
Let's explore all given permissions of normaluser (see Figure
4-11 ) .
// list all permissions.
list all permissions of normaluser;
Figure 4-11 . The current normaluser permissions
 
 
Search WWH ::




Custom Search