Collective-contact-plonegroup

Latest version: v1.36

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

1.14

-----------------

- Make `OrgaPrettyLinkWithAdditionalInfosColumn` work if displaying the
`plonegroup-organization`, include link to plonegroup configuration panel in
`SelectedInPlonegroupColumn` header.
[gbastien]
- Changed first parameter name for `utils.get_plone_group` and
`utils.get_plone_group_id` from `org_uid` to `prefix` as it can be used in
other cases.
[gbastien]
- Added helper method `utils.select_org_for_function` to be able to add/remove
an organization uid from `fct_orgs` defined on a `function`.
[gbastien]
- Removed dependency on `unittest2`.
[gbastien]
- When calling `config.get_registry_organizations` and
`config.get_registry_functions`, by default return a copy of stored data to
avoid changing it.
[gbastien]
- Added parameter `default=True` to `utils.get_own_organization`, in this case,
default ids for `root directory` and `own organization` are used instead
using a catalog query, it should be faster.
[gbastien]

1.13

-----------------

- Use unrestrictedSearchResults to check link integrity.
[sgeulette]
- Added helpers config.get_registry_organizations,
config.get_registry_functions, config.set_registry_organizations and
config.set_registry_functions to easily get and set organizations/functions
registry records.
[gbastien]

1.12

-----------------

- Added parameter `kept_org_uids` to `utils.get_organizations` to only keep
organizations having defined UID.
[gbastien]
- Sort `collective.contact.plonegroup.selected_organization_services`
vocabulary by value title.
[gbastien]
- Display the organization UID next to title in the `suborganizations` view.
[gbastien]

1.11

-----------------

- In utils.get_organizations, call uuidsToObjects with ordered=True to get
organizations in correct order because the catalog query is not sorted.
[gbastien]
- Fixed migration that adds 'fct_orgs' to functions.
[gbastien]

1.10

-----------------

- Removed grok for OwnOrganizationServicesVocabulary.
[gbastien]
- Added utils.get_organization to get an organization corresponding
to a given plone_group_id.
[gbastien]
- Added utils.get_organizations to get every plonegroup organizations. It is
possible to get every selectable or selected organizations, as objects or not
and for which a particular linked Plone group (suffix) is not empty.
[gbastien]
- Added utils.get_all_suffixes that returns every defined functions ids.
[gbastien]
- Added possibility to restrict suffixes to only some selected organizations.
Plone groups will only be created for selected organizations. When selecting or
unselecting organizations, linked Plone groups are created/deleted accordingly.
[gbastien]
- Moved setting.getOwnOrganizationPath to
utils.get_own_organization/utils.get_own_organization_path.
[gbastien]
- Added method utils.get_plone_groups that returns every Plone groups of a
given organization.
[gbastien]
- Added utils.get_plone_group that returns a Plone group for given organization
UID and suffix.
[gbastien]
- Disabled auto_append on IContactPlonegroupConfig.functions DataGridField.
[gbastien]
- Notify event PlonegroupGroupCreatedEvent when a Plone group linked to an
organization is created.
[gbastien]
- z3c.table batching does not work when displaying suborganizations, so set
batchSize and startBatchingAt to 999 instead 200 so we are pretty sure it is
never displayed.
[gbastien]
- While displaying "suborganizations", display a specific message "No suborganization"
when no suborganizations instead displaying nothing.
[gbastien]
- Added default logger importable from collective.contact.plonegroup.
[gbastien]
- Added utils.select_organization to be able to select or unselect an
organization from organizations registry.
[gbastien]
- While creating Plone groups, translate suffix displayed in title.
[gbastien]

1.9

----------------

- Added utils.get_plone_group_id to get Plone group id for given organization and suffix.
[gbastien]
- Overrided "suborganizations" view to display the entire hierarchy of contained
organizations and sub-organizations and more informations in a table.
[gbastien]
- When the plonegroup-organization is displayed in a tooltip, use original way
to display sub organizations because the new rendering using the table takes
too much place in the tooltip.
[gbastien]

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.