symphonycms/members — Issue #173: Allow multiple sections for Members
Author: brendo
Created: 2011-10-21 08:46:59+00:00
State: open

Members is currently tied to work with a single section (as set by the preferences page). This works well for most situations, but there are some instances where it would be preferable to have member data stored in different sections (or perhaps the data for each member requires different fields).

On completion of this issue, the Members extension will be able to work with multiple sections.

The proposed solution will use a hidden field to specify which section the event should use. ie. ``.

To maintain backwards compatibility, if `$_POST['members']['section']`is not provided, the extension will look for the the 'active member section' from the `config.php` (which it does now) otherwise throw an error.

Other notes:
- It won't be possible for a member to be logged into more than one section at a time (this would be an edge case anyway), so the Members Logout event won't need a section.
- The Roles are antagonistic and are available for all member sections