From 8175e80f1515822ddc2b484eb39a383a3add8913 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Thu, 23 Feb 2006 16:22:06 +0000
Subject: [PATCH] Add a form to update roles in existing objects.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5806 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/dtml/editToolsRoles.dtml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/product/ERP5Type/dtml/editToolsRoles.dtml b/product/ERP5Type/dtml/editToolsRoles.dtml
index 592c15f2f1..12f069c97b 100755
--- a/product/ERP5Type/dtml/editToolsRoles.dtml
+++ b/product/ERP5Type/dtml/editToolsRoles.dtml
@@ -257,6 +257,16 @@ Add a role
 
 </form>
 
+<hr />
+<p>
+Click the button below to update the role settings of all
+objects with this portal type.
+
+<form action="updateRoleMappings" method="GET">
+<input type="submit" name="submit" value="Update role settings" />
+</form>
+</p>
+
 <dtml-if manage_page_footer>
   <dtml-var manage_page_footer>
 <dtml-else>
-- 
2.30.9