f6a56db19e
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 |
||
---|---|---|
.. | ||
checker.cpp | ||
CMakeLists.txt | ||
runner.py | ||
tester.cpp |