Index: openacs-4/packages/acs-subsite/www/doc/group-admin-pages-requirements.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/doc/group-admin-pages-requirements.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-subsite/www/doc/group-admin-pages-requirements.adp 9 Jun 2016 08:53:54 -0000 1.2.2.4 +++ openacs-4/packages/acs-subsite/www/doc/group-admin-pages-requirements.adp 1 Jul 2016 09:11:53 -0000 1.2.2.5 @@ -17,11 +17,11 @@

II. Vision Statement

From /doc/subsites-requirements.html:
The other piece of the subsite system is a -subsite package that provides subsite admins a "control panel" for -administering their subsite. This is the same package used to -provide all the community core functionality available at the -"main" site which is in fact simply another -subsite.
+subsite package that provides subsite admins a "control +panel" for administering their subsite. This is the same +package used to provide all the community core functionality +available at the "main" site which is in fact simply +another subsite. This control panel needs to treat individual groups as belonging to a single instance of a subsite. However, groups themselves are not enough. We must allow a subsite to specify its @@ -42,11 +42,11 @@

IV. Use case and User Scenarios

The Intranet Application

The Intranet application may model employees in many ways. -Without loss of generality, we assume each employee is a "person" -with an "employment relation" to a company. Figure 1 shows an -outline of what the ACS Site Map may look like with several -companies. Note that each company represents one instance of the -intranet application.

+Without loss of generality, we assume each employee is a +"person" with an "employment relation" to a +company. Figure 1 shows an outline of what the ACS Site Map may +look like with several companies. Note that each company represents +one instance of the intranet application.



Figure 1: Structure of Multiple Intranets
@@ -76,19 +76,23 @@ groups

The administrator must be able to specify the permissible relationship types to use for each group. The defaults are inherited from the list of permissible relationship types for the -group's type.

+group's type.

VI.B Requirements: API

-
20.10 Define a new group type

Users should be able to create a new type of +

20.10 Define a new group +type

Users should be able to create a new type of group.

30.10 Specify attributes

Users should be able to dynamically add attributes to group types. These attributes should be stored efficiently.

35.10 Remove attributes

Users should be able to dynamically remove attributes from a group type. Removing the attribute removes all values specified -for that attribute.

40.10 Relationship Constraints

The API must support the following types of constraints on -relationships:

40.10.10 Permissible relationships

Each group type should maintain a list of all relationship +for that attribute.

40.10 Relationship +Constraints

The API must support the following types of constraints on +relationships:

40.10.10 Permissible +relationships

Each group type should maintain a list of all relationship types that can be used to add elements to groups of this group -type.

40.10.20 Constraints on relationships

Relationships listed as allowable for a given group type +type.

40.10.20 Constraints on +relationships

Relationships listed as allowable for a given group type should link to more information about the relationship type, including any constraints that must be satisfied before relations of the specified type are created.

40.10.30 Constrain membership to a given @@ -103,7 +107,8 @@ 100.10 Create a group type with attributes

When creating a new group type, the UI should support ACS datatypes with appropriate UI.

-130.10 Group type summary page
+130.10 Group type summary +page
130.10.10 Display allowable relationship types

The group type summary page should display all the @@ -112,19 +117,21 @@ existing ones.

130.10.20 Display groups

Display all groups of this type, based on permissions. UI should scale well with a large number of groups.

-110.10 Create an instance of a particular group -type

When creating a new group of the specified type, the UI +110.10 Create an instance of a +particular group type

When creating a new group of the specified type, the UI must request values for each of the attributes of that type, including attributes of all supertypes (up the type tree until the object of type 'group').

-130.10.20 Display type attributes

Display all attributes for this group type, including +130.10.20 Display type +attributes

Display all attributes for this group type, including supertypes.

130.10.20 Delete group type

Allow administrators to delete the group type. This action removes all groups of this type.

-150.10 Group instance summary page
+150.10 Group instance summary +page
150.10.10 Display relations

Each group should display all the parties related to it @@ -135,8 +142,8 @@ each.

150.10.20 Delete group

Allow administrators to delete the group including all relations to the group.

-150.20 Integration with relational Segments and -Constraints

The group summary page should offer links to define +150.20 Integration with relational +Segments and Constraints

The group summary page should offer links to define relational segments for the group, based on a particular relationship type. The UI must also integrate with the relational constraints data model to support defining constraints on