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

SF.net SVN: ledger-smb:[6758] branches/1.3



Revision: 6758
          http://sourceforge.net/p/ledger-smb/code/6758
Author:   einhverfr
Date:     2014-02-05 10:21:18 +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. (note copied from trunk commit 6757)

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/sql/modules/Roles.sql

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-02-05 10:18:33 UTC (rev 6757)
+++ branches/1.3/Changelog	2014-02-05 10:21:18 UTC (rev 6758)
@@ -12,6 +12,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: branches/1.3/sql/modules/Roles.sql
===================================================================
--- branches/1.3/sql/modules/Roles.sql	2014-02-05 10:18:33 UTC (rev 6757)
+++ branches/1.3/sql/modules/Roles.sql	2014-02-05 10:21:18 UTC (rev 6758)
@@ -1132,7 +1132,7 @@
 CREATE ROLE "lsmb_<?lsmb dbname ?>__account_edit"
 WITH INHERIT NOLOGIN;
 
-GRANT ALL ON account, account_heading, account_link, cr_coa_to_account 
+GRANT ALL ON account, account_heading, account_link, cr_coa_to_account, tax
 TO "lsmb_<?lsmb dbname ?>__account_edit";
 
 INSERT INTO menu_acl (node_id, acl_type, role_name)

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