You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2021/08/31 12:29:00 UTC

[jira] [Created] (CASSANDRA-16902) A user should be able to view permissions of role they created

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