Remove Quanta cruft.
[capital-apms.git] / dba / appuser_permissions.txt
blob806e3835738c78dc6d62976f4bc9ad884f8b7b05
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 accountbalance
21   ON accountgroup
22   ON accountsummary
23   ON accttran
24   ON activitystatus
25   ON approver
26   ON appuser
27   ON areastatus
28   ON areatype
29   ON assetstatus
30   ON assettype
31   ON audittrail
32   ON autotext
33   ON bankaccount
34   ON bankimportrule
35   ON batch
36   ON batchqueue
37   ON batchtype
38   ON buildingevent
39   ON buildingsystem
40   ON buildingsystemtype
41   ON buildingtask
42   ON buildingtype
43   ON cashflow
44   ON cashflowtype
45   ON cfchangetype
46   ON chartofaccount
47   ON cheque
48   ON client
49   ON closinggroup
50   ON coaconversion
51   ON company
52   ON consolidationlist
53   ON constructiondetails
54   ON contact
55   ON contacttype
56   ON contract
57   ON creditor
58   ON debtclassification
59   ON directentrydetail
60   ON directorship
61   ON document
62   ON documenttype
63   ON entitycontact
64   ON entitycontacttype
65   ON entitylist
66   ON entitylistmember
67   ON entitytype
68   ON financialyear
69   ON fixedasset
70   ON flowrule
71   ON flowruletype
72   ON flowstep
73   ON flowsteptype
74   ON flowtask
75   ON flowtasktype
76   ON frequencytype
77   ON groundlease
78   ON guarantor
79   ON image
80   ON imagetype
81   ON inspector
82   ON invoice
83   ON invoiceline
84   ON invoicestatus
85   ON invoiceterms
86   ON joblog
87   ON journaldescription
88   ON leasehistory
89   ON leaseimage
90   ON leaseimagepage
91   ON leaseindex
92   ON leasestatus
93   ON leasetype
94   ON linknode
95   ON lookupcode
96   ON month
97   ON monthname
98   ON monthstatus
99   ON newaccttrans
100   ON newbatch
101   ON newdocument
102   ON note
103   ON office
104   ON officecontrolaccount
105   ON officesettings
106   ON outgoingdescription
107   ON outgoingsbasis
108   ON paymentstyle
109   ON periodicdetail
110   ON person
111   ON persondetail
112   ON persondetailtype
113   ON phonedetail
114   ON phonetype
115   ON postaldetail
116   ON postaltype
117   ON programlink
118   ON project
119   ON projectbudget
120   ON projectexpensecategory
121   ON projecttype
122   ON property
123   ON propertyoutgoing
124   ON propertytitle
125   ON propertyview
126   ON propforecast
127   ON propforecastparam
128   ON propforecasttype
129   ON purchaseorder
130   ON region
131   ON rentalspace
132   ON rentcharge
133   ON rentchargeline
134   ON rentchargelinestatus
135   ON rentchargetype
136   ON rentreview
137   ON rentspacehistory
138   ON replcollisionlog
139   ON replloadrule
140   ON repllog
141   ON repltrigger
142   ON reviewstatus
143   ON reviewtype
144   ON rp
145   ON scenario
146   ON scenarioassumption
147   ON scenarioparameter
148   ON scenariostatus
149   ON servicetype
150   ON shareholder
151   ON streetfrontage
152   ON sublease
153   ON supplymeter
154   ON supplymeterreading
155   ON tenancylease
156   ON tenancyoutgoing
157   ON tenant
158   ON tenantcall
159   ON tenantsublease
160   ON topost
161   ON unittype
162   ON usrgroup
163   ON usrgroupmember
164   ON usrgroupmenu
165   ON usrgroupmenuitem
166   ON usrgrouprights
167   ON valuation
168   ON valuationtype
169   ON varianceclassification
170   ON variation
171   ON variationflow
172   ON variationtype
173   ON voucher
174   ON voucherline
175   ON voucherstatus
177 # AWL tables
178   ON role_member
179   ON roles
180   ON session
181   ON tmp_password
182   ON usr
183   ON usr_setting
185 # Maintenance views
186   ON debtor_maintenance
187   ON creditor_maintenance
189 GRANT SELECT,UPDATE
190   ON batch_seq
191   ON audittrailid
192   ON collisionid
193   ON joblogno
194   ON notecode
195   ON personcode
196   ON replid
197   ON person_personcode_seq
198   ON tenant_tenantcode_seq
199   ON creditor_creditorcode_seq
200   ON company_companycode_seq
201   ON property_propertycode_seq
202   ON invoice_invoiceno_seq
203   ON voucher_voucherseq_seq
204   ON newbatch_batchcode_seq
205   ON closinggroup_closinggroup_seq
207 # AWL sequences
208   ON usr_user_no_seq
209   ON roles_role_no_seq
210   ON session_session_id_seq
212 GRANT SELECT
213   ON supported_locales
214   ON yearsummary
215   ON year_balance_sheet
216   ON awl_db_revision
217   ON _progress_field_data