sarankk commented on code in PR #165:
URL: https://github.com/apache/cassandra-sidecar/pull/165#discussion_r1913558771
##########
server/src/main/java/org/apache/cassandra/sidecar/db/schema/SystemAuthSchema.java:
##########
@@ -32,8 +32,19 @@
public class SystemAuthSchema extends CassandraSystemTableSchema
{
private static final String IDENTITY_TO_ROLE_TABLE = "identity_to_role";
+
+ private static final String SELECT_ROLE_FROM_IDENTITY
+ = "SELECT role FROM system_auth.identity_to_role WHERE identity = ?";
+ private static final String GET_ALL_ROLES_AND_IDENTITIES = "SELECT * FROM
system_auth.identity_to_role";
+ private static final String GET_SUPER_USER_STATUS = "SELECT * FROM
system_auth.roles WHERE role = ?";
Review Comment:
Will update this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]