Controlled / restricted distant parent selection (completed)

This feature will apply to categories that are created within containeris, where the 'child categories can have distant parentiis' option for that container is set to enabled.

At the moment, when setting the parent for such a categoryi, the select box lists all categories within all containers. It would be better if this list could be restricted only to categories within a configurable set of containers. This feature will allow the user to select the containers whose categories (optionally including the container itself) can be selected as parents.

The new 'allowed parents' select box will appear only when 'child categories can have distant parents' is enabled; ideally, it will appear without a page load using JavaScript (and ideally, the JavaScript will be AJAX-based).

Additionally, when this new select box appears, another option called 'allow parents from this container' will also appear (and will be set to disabled by default). This will allow the user to configure a container such that it can only have parents from a different container, and not from its own container.

These new settings will make it possible to open up the full power of distant-parent support to non-administrators on a site. This is very important, as it's not just administrators that create content!

Assigned to: Jaza.

Status: completed.

Drupal.org issue: http://drupal.org/node/50467.