Show
Ignore:
Timestamp:
07/16/03 23:53:08 (21 years ago)
Author:
jalet
Message:

Really big modifications wrt new configuration file's location and content.

Location:
pykota/trunk/initscripts/postgresql
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/postgresql/pykota-postgresql.sql

    r1079 r1087  
    2020-- 
    2121-- $Log$ 
     22-- Revision 1.4  2003/07/16 21:53:07  jalet 
     23-- Really big modifications wrt new configuration file's location and content. 
     24-- 
    2225-- Revision 1.3  2003/07/09 20:17:07  jalet 
    2326-- Email field added to PostgreSQL schema 
     
    5154--  
    5255CREATE USER pykotaadmin; 
     56CREATE USER pykotauser; 
    5357 
    5458--  
     
    127131-- 
    128132REVOKE ALL ON users, groups, printers, userpquota, grouppquota, groupsmembers, jobhistory FROM public;                         
     133REVOKE ALL ON users_id_seq, groups_id_seq, printers_id_seq, userpquota_id_seq, grouppquota_id_seq, jobhistory_id_seq FROM public; 
     134 
    129135GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES ON users, groups, printers, userpquota, grouppquota, groupsmembers, jobhistory TO pykotaadmin; 
    130136GRANT SELECT, UPDATE ON users_id_seq, groups_id_seq, printers_id_seq, userpquota_id_seq, grouppquota_id_seq, jobhistory_id_seq TO pykotaadmin; 
     137GRANT SELECT ON users, groups, printers, userpquota, grouppquota, groupsmembers, jobhistory TO pykotauser; 
    131138 
  • pykota/trunk/initscripts/postgresql/upgrade-to-1.14.sql

    r1079 r1087  
    2020-- 
    2121-- $Log$ 
     22-- Revision 1.2  2003/07/16 21:53:07  jalet 
     23-- Really big modifications wrt new configuration file's location and content. 
     24-- 
    2225-- Revision 1.1  2003/07/09 20:17:07  jalet 
    2326-- Email field added to PostgreSQL schema 
     
    4043-- 
    4144ALTER TABLE users ADD COLUMN email TEXT; 
     45CREATE USER pykotauser; 
     46REVOKE ALL ON users, groups, printers, userpquota, grouppquota, groupsmembers, jobhistory FROM pykotauser; 
     47REVOKE ALL ON users_id_seq, groups_id_seq, printers_id_seq, userpquota_id_seq, grouppquota_id_seq, jobhistory_id_seq FROM pykotauser; 
     48GRANT SELECT ON users, groups, printers, userpquota, grouppquota, groupsmembers, jobhistory TO pykotauser;