An intern got too many privileges, and someone shared a table with everyone.
- How many privileges does
internhave onproducts? - Make
internread-only onproducts: it keeps SELECT and loses the rest. internhas no grant of its own onemployees. Can it reademployees? Answer yes or no. Check withSET ROLEand come back withRESET ROLE.- Make sure no role except the owner can read
employees.