cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres de la Peña (Jira) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-16902) A user should be able to view permissions of role they created
Date Tue, 31 Aug 2021 12:29:00 GMT
Andres de la Peña created CASSANDRA-16902:
---------------------------------------------

             Summary: A user should be able to view permissions of role they created
                 Key: CASSANDRA-16902
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16902
             Project: Cassandra
          Issue Type: Bug
          Components: Feature/Authorization
            Reporter: Andres de la Peña
            Assignee: Andres de la Peña


Currently users are denied to view permissions to see a role they created:
{code}
CREATE ROLE parent WITH PASSWORD = 'x' AND LOGIN = true;
GRANT CREATE ON ALL ROLES TO parent;
LOGIN parent;
CREATE ROLE child WITH PASSWORD = 'x' AND LOGIN = true;
LIST ALL PERMISSIONS OF 'child'; -- You are not authorized to view child's permissions
{code}
When a user creates a role they should get the {{DESCRIBE}} permission on that role by default.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message