Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / dba / appuser_permissions.txt
blobea03c51bf931b2192eac6402aaf3ab1d1fae9b69
2 # This file is used by update-rscds-database to set the correct
3 # permissions for the application user.  In newer installations
4 # the application user will probably be called app_davical (and
5 # the administrative user will be called dba_davical) but in
6 # older installations the application user was called 'general'
7 # and the administrative user was probably 'postgres'.
9 # See the wiki topic 'Database/Users' for more discussion.
11 # This file includes lines like:
12 #   GRANT SELECT,...
13 # which define what gets granted to the following lines like:
14 #   ON table1, table2, sequence1, function 3, view4, ...
15 # no user-serviceable parts inside, all whitespace is ignored,
16 # your mileage should not vary :-)
19 GRANT SELECT,INSERT,UPDATE,DELETE
20   ON collection
21   ON caldav_data
22   ON calendar_item
23   ON relationship
24   ON locks
25   ON property
26   ON freebusy_ticket
27   ON usr
28   ON usr_setting
29   ON roles
30   ON role_member
31   ON session
32   ON tmp_password
33   ON group_member
34   ON principal
35   ON relationship_type
36   ON sync_tokens
37   ON sync_changes
38   ON grants
39   ON dav_principal
40   ON access_ticket
41   ON dav_binding
42   ON calendar_alarm
43   ON calendar_attendee
44   ON addressbook_resource
45   ON addressbook_address_adr
46   ON addressbook_address_tel
47   ON addressbook_address_email
48   ON timezones
49   ON tz_aliases
50   ON tz_localnames
52 GRANT SELECT,UPDATE
53   ON relationship_type_rt_id_seq
54   ON dav_id_seq
55   ON usr_user_no_seq
56   ON roles_role_no_seq
57   ON session_session_id_seq
58   ON principal_type_principal_type_id_seq
59   ON sync_tokens_sync_token_seq
60   ON timezones_our_tzno_seq
62 GRANT SELECT
63   ON supported_locales
64   ON awl_db_revision
65   ON principal_type