Index: openacs-4/packages/acs-core-docs/www/subsites-requirements.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/subsites-requirements.html,v diff -u -r1.34.2.1 -r1.34.2.2 --- openacs-4/packages/acs-core-docs/www/subsites-requirements.html 9 Jun 2016 08:44:50 -0000 1.34.2.1 +++ openacs-4/packages/acs-core-docs/www/subsites-requirements.html 23 Jun 2016 08:32:46 -0000 1.34.2.2 @@ -31,7 +31,7 @@ forum messages associated with the current package instance. Joe is happy to realize that parameter::get is already smart enough to return configuration parameters for the current package instance, and so he has to do no extra -work to tailor configuration parameters to the current subsite.

Jane Admin maintains www.company.com. She learns of Joe's work and +work to tailor configuration parameters to the current subsite.

Jane Admin maintains www.company.com. She learns of Joe's work and would like to set up individual forums for the Boston and Austin offices of her company. The first thing she does is use the APM to install the new forum package.

Next, Jane uses the Subsite UI to create subsites for the Boston and @@ -40,13 +40,13 @@ http://www.company.com/offices/boston/forum, and similarly for the Austin office. At this point, the Boston and Austin office admins can customize the configurations for each of their forums, or they can just use the -defaults.

Related Links

Requirements: Programmer's API

A subsite API is required for programmers to ensure their packages are +defaults.

Related Links

Requirements: Programmer's API

A subsite API is required for programmers to ensure their packages are subsite-aware. The following functions should be sufficient for this:

10.10.0 Package creation

The system must provide an API call to create a package, and it must be possible for the context (to which the package belongs) to be specified.

10.20.0 Package deletion

The system must provide an API call to delete a package and all related -objects in the subsite's context.

10.30.0 Object's package information

Given an object ID, the system must provide an API call to determine the +objects in the subsite's context.

10.30.0 Object's package information

Given an object ID, the system must provide an API call to determine the package (ID) to which the object belongs.

10.40.0 URL from package

Given a package (ID), the system must provide an API call to return the -canonical URL for that package.

10.50.0 Main subsite's package_id

The system must provide an API call to return a package ID corresponding -to the main subsite's package ID (the degenerate subsite).

Requirements: The User Interface

The Programmer's User Interface

There is no programmer's UI, other than the API described above.

The Administrator's User Interface

The UI for administrators is a set of HTML pages that are used to drive +canonical URL for that package.

10.50.0 Main subsite's package_id

The system must provide an API call to return a package ID corresponding +to the main subsite's package ID (the degenerate subsite).

Requirements: The User Interface

The Programmer's User Interface

There is no programmer's UI, other than the API described above.

The Administrator's User Interface

The UI for administrators is a set of HTML pages that are used to drive the underlying API for package instance management (i.e. adding, removing, or altering packages). It is restricted to administrators of the current subsite such that administrators can only manage their own subsites. Of course,