Metadata-Version: 2.4
Name: borg.localrole
Version: 4.0.1
Summary: A PAS plugin which can manage local roles via an adapter lookup on the current context
Home-page: https://pypi.org/project/borg.localrole
Author: Borg Collective
Author-email: borg@plone.org
License: LGPL
Keywords: Plone PAS local roles
Platform: Any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 5.0
Classifier: Framework :: Plone :: 5.1
Classifier: Framework :: Plone :: 5.2
Classifier: Framework :: Plone :: Core
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
Requires-Dist: AccessControl
Requires-Dist: setuptools
Requires-Dist: zope.annotation
Requires-Dist: zope.component
Requires-Dist: zope.deferredimport
Requires-Dist: zope.interface
Requires-Dist: Products.CMFCore
Requires-Dist: Products.GenericSetup
Requires-Dist: Products.PlonePAS>=5.0.1
Requires-Dist: Products.PluggableAuthService
Requires-Dist: plone.memoize
Requires-Dist: Acquisition
Requires-Dist: Zope
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.testing; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: platform
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

Overview
========

A PAS plugin which can manage local roles via an adapter lookup on the current
context.

Source Code
===========

Contributors please read the document `Process for Plone core's development <https://docs.plone.org/develop/coredev/docs/index.html>`_

Sources are at the `Plone code repository hosted at Github <https://github.com/plone/borg.localrole>`_.

Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

4.0.1 (2025-12-03)
------------------

Internal:


- Move to src-layout.  [maurits]


4.0.0 (2025-12-02)
------------------

Breaking changes:


- Make major release.
  Versions 3.1.10 and 3.1.11 (from 2023) are backwards incompatible with Plone 5.2.
  A 3.x branch was made, but we forgot to bump the version on the master branch.
  [maurits] (#14)


3.1.11 (2023-10-07)
-------------------

Internal:


- Update configuration files.
  [plone devs] (cfffba8c)


3.1.10 (2023-02-22)
-------------------

Bug fixes:


- Add configuration with plone/meta.
  [gforcada] (#1)


3.1.9 (2022-11-14)
------------------

Bug fixes:


- Add PEP 508 style requirements to not depend on Zope2 in Python 3. [jensens] (#12)


3.1.8 (2020-04-20)
------------------

Bug fixes:


- Minor packaging updates. (#1)


3.1.7 (2020-03-21)
------------------

Bug fixes:


- Minor packaging updates. [various] (#1)


3.1.6 (2018-09-23)
------------------

Bug fixes:

- Python 2 / 3 compatibility.
  [ale-rt, pbauer]

- Fix issue StopIteration raising a Runtimeerror in Python 3.7
  See https://www.python.org/dev/peps/pep-0479/
  [pbauer]


3.1.5 (2018-02-02)
------------------

Bug fixes:

- Import ``activatePluginInterfaces`` from the canonical place in ``Products.PlonePAS``.
  [maurits]

- Python 2 / 3 compat with six.
  [jensens]

- Cleanup:

    - No self-contained buildout,
    - utf8-headers,
    - isort,
    - ZCA-decorators
    - formatting/readability/pep8,
    - Security decorators

  [jensens]

- Fix test for Zope 4.
  [pbauer]


3.1.4 (2017-10-17)
------------------

Bug fixes:

- Made test compatible with zope4.  [pbauer]


3.1.3 (2016-11-18)
------------------

Bug fixes:

- Removed ZopeTestCase.  [maurits]


3.1.2 (2016-08-17)
------------------

Fixes:

- Use zope.interface decorator.
  [gforcada]


3.1.1 (2014-10-23)
------------------

- Ported tests to plone.app.testing
  [tomgross]

3.1 (2014-03-01)
----------------

- Moved portal_factory stuff to Products.ATContentTypes for PLIP #13770
  [ale-rt]

3.0.2 - 2010-10-27
------------------

- Close ``<input>`` tags properly (Chameleon compatibility).
  [swampmonkey]

3.0.1 - 2010-07-18
------------------

- Avoid raising deprecation warnings about our own code.
  [hannosch]

- Use the standard libraries doctest module.
  [hannosch]

3.0 - 2010-07-01
----------------

- Update docstring. Nested groups do work properly.
  [esteele]

3.0a1 - 2009-11-17
------------------

- Avoid polluting test environment with extra adapter registrations.
  [davisagli]

- Use `Testing.ZopeTestCase.placeless` instead of `zope.app.testing.placeless`.
  [hannosch]

- Adjusted test setup for Plone 5.
  [hannosch]

- Added the `replace_local_role_manager` method formerly found in CMFPlone.
  [hannosch]

- Standardize package documentation and remove invalid license files.
  [hannosch]

- Declare test dependencies in an extra and fixed deprecation warnings
  for use of Globals.
  [hannosch]

2.0.2 - Unreleased
------------------

- Specify package dependencies.
  [hannosch]

2.0.1 - 2008-07-31
------------------

- Support caching of allowed local roles on the request.
  [witsch]

- Renamed the default adapter to "default" so that people don't
  accidentally override it with an unnamed adapter. Overriding the default
  should be possible, but is a marginal use case. If it's overridden but
  not replicated properly, all sorts of problems can result.
  [optilude]

- Added exportimport.zcml which registers TitleOnlyExportImport for
  WorkspaceLocalRoleManager; this allows local roles plug-in to be
  imported and exported as part of a GenericSetup profile.
  [rafrombrc]

2.0.0 - 2008-04-20
------------------

- Baseline for Plone 3.1
