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

SF.net SVN: ledger-smb:[6757] trunk



Revision: 6757
          http://sourceforge.net/p/ledger-smb/code/6757
Author:   einhverfr
Date:     2014-02-05 10:18:33 +0000 (Wed, 05 Feb 2014)
Log Message:
-----------
fixing bug 967, permission denied on relation tax when deleting non-used tax account, fix in 1.3 entirely separate.
This is safe because other RI checks will be tripped if the account has ever been used.

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

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2014-02-05 10:13:43 UTC (rev 6756)
+++ trunk/Changelog	2014-02-05 10:18:33 UTC (rev 6757)
@@ -117,6 +117,7 @@
 * Fixed inputs ignored for email addresses sending statements (Chris T, 920)
 * Fixed negative overpayments showing as positive (Chris T, 926)
 * Fixed permission denied errors after upgrading copied db (Chris T, 956)
+* Fixed "access denied" when deleting unused tax account (Chris T, 967)
 
 Changelog for 1.3.37
 * 1.3-1.2 downgrade now drops extensions (Chris T, 943)

Modified: trunk/sql/modules/Roles.sql
===================================================================
--- trunk/sql/modules/Roles.sql	2014-02-05 10:13:43 UTC (rev 6756)
+++ trunk/sql/modules/Roles.sql	2014-02-05 10:18:33 UTC (rev 6757)
@@ -891,7 +891,7 @@
 SELECT lsmb__create_role('account_edit');
 SELECT lsmb__grant_perms('account_edit', obj, 'ALL')
   FROM unnest(array['account'::text, 'account_heading', 'account_link', 
-                    'cr_coa_to_account']) obj;
+                    'cr_coa_to_account', 'tax']) obj;
 
 SELECT lsmb__create_role('auditor');
 SELECT lsmb__grant_perms('auditor', 'audittrail', 'SELECT');

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits