[evolvis-commits] r6559: automate calling /usr/share/gforge/bin/normalize_roles. php↵

Thorsten Glaser t.glaser at tarent.de
Wed Apr 21 13:01:11 CEST 2010


Author: Thorsten Glaser <t.glaser at tarent.de>
Date: 2010-04-21 13:01:11 +0200 (Wed, 21 Apr 2010)
New Revision: 6559

Modified:
   trunk/gforge_base/evolvisforge/gforge/debian/README.Debian
   trunk/gforge_base/evolvisforge/gforge/debian/changelog
   trunk/gforge_base/evolvisforge/gforge/debian/gforge-db-postgresql.postinst.dsfh-in
Log:
automate calling /usr/share/gforge/bin/normalize_roles.php


Modified: trunk/gforge_base/evolvisforge/gforge/debian/README.Debian
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/debian/README.Debian	2010-04-21 09:59:19 UTC (rev 6558)
+++ trunk/gforge_base/evolvisforge/gforge/debian/README.Debian	2010-04-21 11:01:11 UTC (rev 6559)
@@ -1,10 +1,3 @@
-Evolvis notes
-=============
-
-To update permissions for roles in RBAC for existing projects,
-run /usr/share/gforge/bin/normalize_roles.php as root.
-
-
 GForge for Debian
 =================
 

Modified: trunk/gforge_base/evolvisforge/gforge/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/debian/changelog	2010-04-21 09:59:19 UTC (rev 6558)
+++ trunk/gforge_base/evolvisforge/gforge/debian/changelog	2010-04-21 11:01:11 UTC (rev 6559)
@@ -6,9 +6,9 @@
   * Normalizing the roles needs to happen as admin
 
   [ Thorsten Glaser ]
-  * debian/README.Debian: mention need-to-do-on-upgrade stuff
+  * gf-db-postgresql postinst: run RBAC upgrade script
 
- -- Thorsten Glaser <t.glaser at tarent.de>  Wed, 21 Apr 2010 11:57:57 +0200
+ -- Thorsten Glaser <t.glaser at tarent.de>  Wed, 21 Apr 2010 12:59:36 +0200
 
 gforge (4.8.3+evolvis6) unstable; urgency=low
 

Modified: trunk/gforge_base/evolvisforge/gforge/debian/gforge-db-postgresql.postinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/debian/gforge-db-postgresql.postinst.dsfh-in	2010-04-21 09:59:19 UTC (rev 6558)
+++ trunk/gforge_base/evolvisforge/gforge/debian/gforge-db-postgresql.postinst.dsfh-in	2010-04-21 11:01:11 UTC (rev 6559)
@@ -69,6 +69,9 @@
 
         # Setup our DB
 	/usr/share/gforge/bin/install-db.sh configure
+
+	# Run upgrade script for RBAC
+	/usr/share/gforge/bin/normalize_roles.php
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)




More information about the evolvis-commits mailing list