portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Commented: (JS1-480) Group and Role Profile Default Template Handling
Date Tue, 01 Jun 2004 02:07:00 GMT
The following comment has been added to this issue:

     Author: Bob Fleischman
    Created: Mon, 31 May 2004 7:05 PM
Sorry, my earlier patch was not created from the correct portion of the tree and the Index
line was incorrect.

Index: WEB-INF/conf/security.xreg
RCS file: /home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/conf/security.xreg,v
retrieving revision 1.6
diff -u -r1.6 security.xreg
--- WEB-INF/conf/security.xreg	17 Mar 2004 19:10:26 -0000	1.6
+++ WEB-INF/conf/security.xreg	1 Jun 2004 02:02:35 -0000
@@ -42,6 +42,18 @@
+    <security-entry name="admin_and_owner_only">
+        <meta-info>
+            <title>Admin_and_Owner_Only</title>
+            <description>Full access to the owner and admin.</description>
+        </meta-info>
+        <access action="*">
+            <allow-if-owner/>
+        </access>
+        <access action="*">
+            <allow-if role="admin"/>
+        </access>
+    </security-entry>
     <security-entry name="default">
Index: WEB-INF/psml/user/turbine/html/default.psml
RCS file: /home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/psml/user/turbine/html/default.psml,v
retrieving revision 1.26
diff -u -r1.26 default.psml
--- WEB-INF/psml/user/turbine/html/default.psml	17 Mar 2004 19:11:38 -0000	1.26
+++ WEB-INF/psml/user/turbine/html/default.psml	1 Jun 2004 02:02:35 -0000
@@ -18,7 +18,7 @@
          <title>My Home</title>
-    <security-ref parent="owner-only"/>
+    <security-ref parent="admin_and_owner_only"/>
     <layout position="-1" size="-1"/>
     <control name="TabControl"/>
     <controller name="TabController"/>
@@ -26,7 +26,7 @@
-        <security-ref parent="owner-only"/>
+        <security-ref parent="admin_and_owner_only"/>
         <layout position="0" size="-1"/>
         <controller name="TwoColumns"/>
         <entry id="P-f570871a5a-10001" parent="LoggedInWelcome">

View this comment:

View the issue:

Here is an overview of the issue:
        Key: JS1-480
    Summary: Group and Role Profile Default Template Handling
       Type: Improvement

     Status: Open
   Priority: Major

    Project: Jetspeed
   Fix Fors:

   Assignee: David Sean Taylor
   Reporter: David Sean Taylor

    Created: Mon, 24 May 2004 9:12 AM
    Updated: Mon, 31 May 2004 7:05 PM

Bob Fleischman wrote:

I am familiar with services.Profiler.newuser.template for new users, but I
did not see anything similar for groups.

I would like to intercept the process and customize the Profile/PSML that is
created for each group so that I can quickly create team workspaces.


I noticed 2 issues that can be improved on:

1. The Turbine User (the default User template) was copied over and used as a default Group
2. The Security constraint applied (owner-only) makes this PSML unaccessible

I propose 

1. enhancing the TurbineGroupManagement : adding a default Group template
2. changing the default security constraint to admin-all / owner-only for user resources,
and admin-all + particular role or group for new group or role resources
This will require creating a new role or group constraint on template creation

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message