Mercurial > ~dholland > hg > swallowtail > index.cgi
annotate database/init/users.sql @ 47:bcd1d06838fd
more better stuff
author | David A. Holland |
---|---|
date | Wed, 13 Aug 2014 03:03:30 -0400 |
parents | 90ec9e3b0a6f |
children | 40f64a96481f |
rev | line source |
---|---|
8
68cc276ac118
SQL material from old tree, split up for accessibility.
David A. Holland
parents:
diff
changeset
|
1 -- Database user initialization. |
68cc276ac118
SQL material from old tree, split up for accessibility.
David A. Holland
parents:
diff
changeset
|
2 -- Needs to be done as database superuser. |
68cc276ac118
SQL material from old tree, split up for accessibility.
David A. Holland
parents:
diff
changeset
|
3 -- |
30 | 4 -- The users: |
5 -- swallowtail_admin: owns the database tables | |
6 -- swallowtail_writer: has write access | |
7 -- swallowtail: has readonly access to everything | |
8 -- swallowtail_public: cannot see confidential PRs | |
9 -- | |
8
68cc276ac118
SQL material from old tree, split up for accessibility.
David A. Holland
parents:
diff
changeset
|
10 |
30 | 11 create user swallowtail_admin; |
12 create user swallowtail_writer; | |
8
68cc276ac118
SQL material from old tree, split up for accessibility.
David A. Holland
parents:
diff
changeset
|
13 create user swallowtail; |
30 | 14 create user swallowtail_public; |