Skip to content

Set up readonly roleΒ #11

Closed
Closed
@dragarcia

Description

@dragarcia

This role provides the user read only access to the public schema

  • Docker
  • Packer

Implementation Notes

  • For the public schema under the database postgres, all roles have been stripped of access aside from the superuser postgres.
  • A role called public_readonly has been created which has readonly access to the public schema.
  • This is only a role, not a user. Future users can be granted this role to inherit the readonly privilege:
CREATE USER sample_user WITH ENCRYPTED PASSWORD 'sample_password';
GRANT public_readonly TO sample_user;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions