Skip to main content

node.ext.ugm

Latest PyPI version Number of PyPI downloads Test node.ext.ugm

Overview

node.ext.ugm provides an API for node based managing of users and groups.

See node.ext.ugm.interfaces for a description of the API.

A file based default implementation can be found at node.ext.ugm.file.

Base objects for writing UGM implementations can be found at node.ext.ugm._api.

For more information on nodes see node package.

For more information on plumbing see plumber package.

Python Versions

  • Python 2.7, 3.7+

  • May work with other versions (untested)

Contributors

  • Robert Niederreiter

  • Florian Friesdorf

  • Jens W. Klein

  • Philipp Auersperg-Castell

Changes

2.0.1 (2026-10-31)

  • Modernise the code ruff flags as outdated: u'' prefixes, class X(object), .format() over f-strings and yield loops over yield from. Behaviour unchanged. super(Class, self) is kept, see cone.app. [rnix]

  • Sort the imports with ruff (one per line, from imports first, no sections) and format the code with ruff format (90 characters per line, single quotes). [rnix]

  • Add qa.ruff domain to Makefile and pin the ruff configuration in pyproject.toml, make check runs ruff check. [rnix]

  • Drop the Python 2 remnants: node.compat usage and from __future__ imports. [rnix]

2.0.0 (2026-02-03)

  • Refactor package layout to use pyproject.toml and implicit namespace packages. [rnix]

1.2 (2025-10-25)

  • Pin upper versions of dependencies. [rnix]

1.1 (2022-12-05)

  • Extend node.ext.ugm.interfaces.IUser by expires and expired attributes and provide default values on node.ext.ugm._api.User. [rnix]

  • Implement expires and expired on node.ext.ugm.file.UserBehavior. Extend node.ext.ugm.file.UgmBehavior by user_expires_attr which enables used expiration support. [rnix]

1.0 (2022-03-18)

  • Remove usage of Nodespaces behavior. [rnix]

  • Replace deprecated use of Storage by MappingStorage. [rnix]

  • Replace deprecated use of Nodify by MappingNode. [rnix]

  • Replace deprecated use of NodeChildValidate by MappingConstraints. [rnix]

  • Replace deprecated use of Adopt by MappingAdopt. [rnix]

  • Replace deprecated use of allow_non_node_children by child_constraints. [rnix]

0.9.13 (2021-11-08)

  • Rename deprecated FileStorage.allow_non_node_childs to allow_non_node_children [rnix]

0.9.12 (2020-07-09)

  • node.ext.ugm.file.GroupBehavior.add properly raises KeyError if given user not exists. [rnix]

  • Also call parent in node.ext.ugm.file.UserBehavior.__call__ and node.ext.ugm.file.GroupBehavior.__call__ if not called from parent. [rnix]

  • node.ext.ugm.file.FileStorage.invalidate gets set with plumber.override instead of plumber.default to work on node.ext.ugm.file.Users and node.ext.ugm.file.Groups. [rnix]

  • node.ext.ugm.file.FileStorage values can be node.utils.UNSET. [rnix]

0.9.11 (2020-05-28)

  • Implement invalidate on node.ext.ugm.file.Ugm. [rnix, 2020-05-16]

  • node.ext.ugm.interfaces.IUgm inherits from node.interfaces.IInvalidate now. [rnix, 2020-05-16]

  • Describe behavior of __getitem__, __delitem__ and __iter__ on IGroup interface. [rnix, 2020-05-11]

  • Fix file based GroupBehavior.__getitem__ to properly raise KeyError when accessing user which is no member of group. [rnix, 2020-05-11]

  • Make clear on User and Group behaviors which not impelented functions are abstract and which are not supported. [rnix, 2020-05-11]

0.9.10 (2019-11-07)

  • Also derive IPrincipals interface from node.interfaces.IInvalidate. Implement invalidate function on FileStorage. [rnix, 2019-06-30]

  • Persist users file on password change. [rnix, 2019-06-30]

  • Add UserAttributes and GroupAttributes classes deriving from FileAttributes and handle reserved attributes expected by cone.ugm there. This might change in future. [rnix, 2019-06-27]

  • File based principals support binary attributes now. [rnix, 2019-06-26]

  • Return all principals in file based UGM imlementation if no search criteria given. [rnix, 2019-06-26]

  • Remove superfluous configure.zcml file. [rnix, 2019-04-13]

  • Remove cone.app main hook for initializing file based UGM implementation. This is handled in cone.app itself as of version 1.0 [rnix, 2019-03-28]

0.9.9

  • node.ext.ugm.file.FileStorage no longer provides unicode_keys and unicode_values, files are always read and written encoded by encoding defined at node.ext.ugm.file.ENCODING, keys and values are always decoded to unicode on read. [rnix, 2017-06-07]

  • Python 3 Support. [rnix, 2017-06-07]

0.9.8

  • Fix bug where non related principal data has been overwritten when adding principal on partial loaded ugm tree. [rnix, 2015-04-12]

  • Also delete user and group corresponding data if user or group is deleted. [rnix, 2015-04-11]

  • Fix node.ext.ugm.file.UsersBehavior.passwd behavior. [rnix, 2015-04-11]

0.9.7

  • Create user and group data directories recursiv if not exists. [rnix, 2014-12-02]

0.9.6

  • Encode plain passwd for comparing with hash. [rnix, 2014-09-10]

0.9.5

  • Use plumbing decorator instead of plumber metaclass. [rnix, 2014-08-01]

0.9.4

  • Use better password hashing for file based default UGM implementation. Warning - all existing passwords in user table do not work any longer and must be reset. [rnix, 2014-06-13]

0.9.3

  • Rename parts to behaviors. [rnix, 2012-07-29]

  • adopt to node 0.9.8. [rnix, 2012-07-29]

  • Adopt to plumber 1.2. [rnix, 2012-07-29]

  • Add User.group_ids. [rnix, 2012-07-26]

0.9.2

  • Remove outdated stuff. [rnix, 2012-05-18]

  • Use zope.interface.implementer instead of zope.interface.implements. [rnix, 2012-05-18]

0.9.1

  • add Users.id_for_login. [rnix, 2012-01-18]

  • Implement search function for file based UGM as described in interface. [rnix, 2011-11-22]

  • Adopt application startup hook for cone.ugm only setting auth implementation if explicitely defined. [rnix, 2011-11-21]

0.9

  • make it work [rnix, chaoflow]

License

Copyright (c) 2011-2021, BlueDynamics Alliance, Austria Copyright (c) 2021-2025, Node Contributors All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Metadata

Release files for node.ext.ugm 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for node.ext.ugm 2.0.1
File Size Uploaded Provenance Actions
node_ext_ugm-2.0.1.tar.gz 18.9 kB Without provenance Details for node_ext_ugm-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for node.ext.ugm 2.0.1
File Interpreter ABI Platform Actions
node_ext_ugm-2.0.1-py3-none-any.whl Python 3 none any Details for node_ext_ugm-2.0.1-py3-none-any.whl

Total release size: 38.5 kB

Release files / node_ext_ugm-2.0.1.tar.gz

Download URL node_ext_ugm-2.0.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8e675d91cd398cf87a9c882dc24eb82aee8a10221dcffab4421c2d10f2af662e
BLAKE2b-256 checksum
How to use checksums
b3875397de18d206176b4ce434c462e30bf348fcebacfec47ca511aee413248f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / node_ext_ugm-2.0.1-py3-none-any.whl

Download URL node_ext_ugm-2.0.1-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b3f79ce7ebc51c254a9d63ea19426a172861495ef1754440f0254b005573069
BLAKE2b-256 checksum
How to use checksums
d85820f4a2db46c1b05220d2c1e3b67c4aedd8c60d7b4bfb6866effb529af881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for node.ext.ugm 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page