# HG changeset patch # User David A. Holland # Date 1369710931 14400 # Node ID 90ec9e3b0a6fe112fa4c4cdcd61a3e3d360780ab # Parent cd36b49f443751f20132fcfd92fd70c92f2bd9f5 add more users diff -r cd36b49f4437 -r 90ec9e3b0a6f database/init/users.sql --- a/database/init/users.sql Sun May 26 23:24:45 2013 -0400 +++ b/database/init/users.sql Mon May 27 23:15:31 2013 -0400 @@ -1,8 +1,14 @@ -- Database user initialization. -- Needs to be done as database superuser. -- --- The 'swallowtail' user will have ordinary access to the database; --- the 'swallowtail-admin' user will have full access to the database. +-- The users: +-- swallowtail_admin: owns the database tables +-- swallowtail_writer: has write access +-- swallowtail: has readonly access to everything +-- swallowtail_public: cannot see confidential PRs +-- +create user swallowtail_admin; +create user swallowtail_writer; create user swallowtail; -create user swallowtail_admin; +create user swallowtail_public;