示例#1
0
        public void GrantCreateToUserOnSchema()
        {
            AdminQuery.Grant("test_user", Privileges.Create, new ObjectName("APP"));

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

            // TODO: Query the user privileges and assert he was granted
        }
示例#3
0
 public void GrantCreateToRoleOnSchema()
 {
     AdminQuery.Grant("test_role", Privileges.Create, new ObjectName("APP"));
 }