[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5150] branches/1.3
- Subject: SF.net SVN: ledger-smb:[5150] branches/1.3
- From: ..hidden..
- Date: Mon, 08 Oct 2012 08:07:40 +0000
Revision: 5150
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5150&view=rev
Author: einhverfr
Date: 2012-10-08 08:07:40 +0000 (Mon, 08 Oct 2012)
Log Message:
-----------
Berend Tober's patch to change security for prepare_company_database.sh, from all rights to just user management rights for admin user
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/tools/prepare-company-database.sh
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2012-10-08 07:59:09 UTC (rev 5149)
+++ branches/1.3/Changelog 2012-10-08 08:07:40 UTC (rev 5150)
@@ -16,7 +16,9 @@
* Fixed select all button causing error on aging rpt (Chris T)
* Fixed query err when generating sales orders from time cards (Erik H, 3559621)
* Fixed backup does not test for failure (Havard S, h/t Nick P, 3574876)
+* prepre_company_database.sh now only gives user mgmt rights (Berend T)
+Berend T is Berent Tober
Chris T is Chris Travers
Havard S is Havard Sorli
Erik H is Erik Huelsmann
Modified: branches/1.3/tools/prepare-company-database.sh
===================================================================
--- branches/1.3/tools/prepare-company-database.sh 2012-10-08 07:59:09 UTC (rev 5149)
+++ branches/1.3/tools/prepare-company-database.sh 2012-10-08 08:07:40 UTC (rev 5150)
@@ -264,6 +264,6 @@
SELECT admin__add_user_to_role('$ADMIN_USERNAME', rolname)
FROM pg_roles
-WHERE rolname like 'lsmb_${company_name}_%';
+WHERE rolname like 'lsmb_${company_name}__users_manage';
CREATE_USER
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.