Return-Path:
Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org
Received: (qmail 21618 invoked from network); 3 Jul 2007 05:47:38 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2)
by minotaur.apache.org with SMTP; 3 Jul 2007 05:47:38 -0000
Received: (qmail 78841 invoked by uid 500); 3 Jul 2007 05:47:40 -0000
Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org
Received: (qmail 78832 invoked by uid 500); 3 Jul 2007 05:47:40 -0000
Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: "Jetspeed Developers List"
Delivered-To: mailing list jetspeed-dev@portals.apache.org
Received: (qmail 78821 invoked by uid 99); 3 Jul 2007 05:47:40 -0000
Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 22:47:40 -0700
X-ASF-Spam-Status: No, hits=-99.5 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 22:47:36 -0700
Received: by eris.apache.org (Postfix, from userid 65534)
id 768521A981A; Mon, 2 Jul 2007 22:47:16 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r552674 - in /portals/jetspeed-2/trunk/xdocs/guides:
guide-subsites.xml images/newuser-subsite-admin.png
images/subsite-fields.png images/user-reg-subsite.png
Date: Tue, 03 Jul 2007 05:47:16 -0000
To: jetspeed-dev@portals.apache.org
From: taylor@apache.org
X-Mailer: svnmailer-1.1.0
Message-Id: <20070703054716.768521A981A@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: taylor
Date: Mon Jul 2 22:47:15 2007
New Revision: 552674
URL: http://svn.apache.org/viewvc?view=rev&rev=552674
Log:
https://issues.apache.org/jira/browse/JS2-317
Added:
portals/jetspeed-2/trunk/xdocs/guides/images/newuser-subsite-admin.png (with props)
portals/jetspeed-2/trunk/xdocs/guides/images/subsite-fields.png (with props)
portals/jetspeed-2/trunk/xdocs/guides/images/user-reg-subsite.png (with props)
Modified:
portals/jetspeed-2/trunk/xdocs/guides/guide-subsites.xml
Modified: portals/jetspeed-2/trunk/xdocs/guides/guide-subsites.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/xdocs/guides/guide-subsites.xml?view=diff&rev=552674&r1=552673&r2=552674
==============================================================================
--- portals/jetspeed-2/trunk/xdocs/guides/guide-subsites.xml (original)
+++ portals/jetspeed-2/trunk/xdocs/guides/guide-subsites.xml Mon Jul 2 22:47:15 2007
@@ -309,5 +309,66 @@
For example, with the dot prefix flag set to true, a hostname of "accounting.xyz.com" returns "accounting".
+
+
When creating a new user from User Manager Administration, you can specify two fields to enable and configure subsite behavior for that new user:
+
+
+
Profiling Rule: choose a profiling rule to assign to the new user that has built in subsite support such as the example used in this document: subsite-by-hostname.
+
Subsites: from the dropdown select the subsite to assign as the home subsite to the new user, or leave blank to use default /_user home.
+
+
+
When using the subsite-by-hostname profiling rule, make sure to select a subsite from the subsites drop-down, as these two attributes work together.
+ The rule is the instructions on where to look for home pages, and the subsite selection tells the profiling rule which subsite will hold this user directory
+
Subsite management can also be delegated to managers of particular subsites. For example, you may want to setup User Manager Administration pages for each subsite.
+ By modifying the deployment descriptor for the j2-admin application, each User Manager details portlet can be configured with a different default subsite:
+
+
+
+
When creating a new user from the User Registration portlet, you can specify two fields to enable and configure subsite behavior for that new user:
+
+
+
rulesValues: choose a profiling rule to assign to the new user that has built in subsite support such as the example used in this document: subsite-by-hostname.
+
subsiteRootFolder: the full path to one unique subsite root folder.
+
+
+
NOTE: the User Registration portlet will store these preference values on a per user basis. Usually this means the preferences are stored for the administrative user only.
+ If you will have administrators registering users, then this approach works fine. However, with self-registration portal, you will need to set these values in the defaults for the portlet.
+ The defaults are usually set in the portlet.xml, for example:
+
+
+
You can also set defaults on a per page (PSML) intermediate level: