[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5828] trunk/sql/modules/Roles.sql



Revision: 5828
          http://sourceforge.net/p/ledger-smb/code/5828
Author:   einhverfr
Date:     2013-05-19 02:22:10 +0000 (Sun, 19 May 2013)
Log Message:
-----------
Might fix bug 829 but on my test db I am having trouble reproducing, so will test elsewhere later

Modified Paths:
--------------
    trunk/sql/modules/Roles.sql

Modified: trunk/sql/modules/Roles.sql
===================================================================
--- trunk/sql/modules/Roles.sql	2013-05-19 02:16:53 UTC (rev 5827)
+++ trunk/sql/modules/Roles.sql	2013-05-19 02:22:10 UTC (rev 5828)
@@ -252,7 +252,7 @@
 SELECT lsmb__grant_perms('contact_create', 'entity_to_location', 'DELETE');
 SELECT lsmb__grant_perms('contact_create', 'eca_to_location', 'INSERT');
 SELECT lsmb__grant_perms('contact_create', 'eca_to_location', 'DELETE');
-SELECT lsmb__grant_perms('contact_create', 'eca_to_contact', 'ALL');
+SELECT lsmb__grant_perms('contact_create', 'eca_to_contact', 'INSERT');
 SELECT lsmb__grant_perms('contact_create', 'eca_note', 'INSERT');
 SELECT lsmb__grant_perms('contact_create', obj, 'ALL')
   FROM unnest(array['partsvendor_entry_id_seq'::text, 
@@ -286,8 +286,9 @@
 SELECT lsmb__grant_perms('contact_edit', 'entity_note', 'UPDATE');
 SELECT lsmb__grant_perms('contact_edit', 'entity_other_name', 'UPDATE');
 SELECT lsmb__grant_perms('contact_edit', 'person_to_company', 'UPDATE');
-SELECT lsmb__grant_perms('contact_edit', 'entity_to_contact', 'UPDATE');
-SELECT lsmb__grant_perms('contact_edit', 'eca_to_location', 'UPDATE');
+SELECT lsmb__grant_perms('contact_edit', 'entity_to_contact', 'ALL');
+SELECT lsmb__grant_perms('contact_edit', 'eca_to_contact', 'ALL');
+SELECT lsmb__grant_perms('contact_edit', 'eca_to_location', 'ALL');
 SELECT lsmb__grant_perms('contact_edit', 'eca_tax', 'ALL');
 
 SELECT lsmb__create_role('contact_all_rights');

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.