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

SF.net SVN: ledger-smb:[5755] trunk/sql/modules/Business_Unit.sql



Revision: 5755
          http://sourceforge.net/p/ledger-smb/code/5755
Author:   einhverfr
Date:     2013-05-10 13:36:05 +0000 (Fri, 10 May 2013)
Log Message:
-----------
Making the business unit sync trigger security definer

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

Modified: trunk/sql/modules/Business_Unit.sql
===================================================================
--- trunk/sql/modules/Business_Unit.sql	2013-05-10 13:13:04 UTC (rev 5754)
+++ trunk/sql/modules/Business_Unit.sql	2013-05-10 13:36:05 UTC (rev 5755)
@@ -201,7 +201,7 @@
   END IF;
   RETURN NEW;
 END;
-$$ LANGUAGE PLPGSQL;
+$$ LANGUAGE PLPGSQL SECURITY DEFINER;
 
 DROP TRIGGER IF EXISTS eca_maintain_b_units ON entity_credit_account;
 DROP TRIGGER IF EXISTS eca_maintain_b_units_del ON entity_credit_account;

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