public void GrantCreateToUserOnSchema() { AdminQuery.Grant("test_user", Privileges.Create, new ObjectName("APP")); // TODO: Query the user privileges and assert he was granted }
public void GrantSelectToUserOnTable() { AdminQuery.Grant("test_user", Privileges.Create, new ObjectName("APP.test_table")); // TODO: Query the user privileges and assert he was granted }
public void GrantCreateToRoleOnSchema() { AdminQuery.Grant("test_role", Privileges.Create, new ObjectName("APP")); }