Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET ROLE apple;
- SELECT * FROM junior_classes;
- --ERROR: permission denied for relation junior_classes
- --EXPLANATION: superuser revoked all privileges from user apple
- SET ROLE cs165thru;
- GRANT ALL PRIVILEGES ON course TO apple;
- SET ROLE apple;
- SELECT * FROM junior_classes;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement