Skip to content

Instantly share code, notes, and snippets.

"I feel like I belong on this team."
"On this team, I can voice a contrary opinion without fear of negative consequences."
"On this team, perspectives like mine are included in decision making."
"On this team, administrative or clerical tasks that don’t have a specific owner are fairly divided."
"People on this team accept others who are different."
"It is easy to ask other members of this team for help."
"On this team, messengers are not punished when they deliver news of failures or other bad news."
"On this team, responsibilities are shared."
"On this team, cross-functional collaboration is encouraged and rewarded."
"On this team, failure causes inquiry."
@oinopion
oinopion / read-access.sql
Created October 5, 2016 13:00
How to create read only user in PostgreSQL
-- Create a group
CREATE ROLE readaccess;
-- Grant access to existing tables
GRANT USAGE ON SCHEMA public TO readaccess;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess;
-- Grant access to future tables
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess;