memgraph/tests/integration
Marin Tomic f6a56db19e Small cleanup of auth queries
Summary:
Changed GRANT ROLE to SET ROLE. Now it is `SET ROLE FOR user TO ROLE` instead of `GRANT ROLE role TO user`. It makes more sense because our users can only have 1 role.

Changed REVOKE ROLE to CLEAR ROLE. Now it is `CLEAR ROLE FOR user` instead of `REVOKE ROLE role FOR user`. REVOKE ROLE would throw exception if user was not a member of role. CLEAR ROLE clears the role whatever it is. I find that the latter makes more sense combined with SET ROLE.

Changed `SHOW ROLE FOR USER user` to `SHOW ROLE FOR user`.

Changed `SHOW USERS FOR ROLE role` to `SHOW USERS FOR role`.

Reviewers: mferencevic, teon.banek, buda

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1572
2018-08-29 10:07:55 +02:00
..
auth Small cleanup of auth queries 2018-08-29 10:07:55 +02:00
kafka Improve Kafka test 2018-08-29 09:48:22 +02:00
ssl Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
telemetry Implement kafka transform functionality 2018-07-19 12:52:25 +02:00
transactions Fix transaction handling logic and implement tests 2018-07-16 10:02:14 +02:00
apollo_runs.yaml Integrate auth checks into query execution 2018-08-22 11:44:09 +02:00
CMakeLists.txt Integrate auth checks into query execution 2018-08-22 11:44:09 +02:00