Metadata-Version: 2.5
Name: trytond_maestro_groups
Version: 8.0.1
Summary: Maestro AD group management module for Tryton
Author: Clemens Hupka
Maintainer-email: Clemens Hupka <clemens.hupka@tryton-erp.eu>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: active-directory,group-management,maestro,tryton
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: trytond-maestro-users<8.1,>=8.0
Requires-Dist: trytond-maestro<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Requires-Dist: proteus<8.1,>=8.0; extra == 'test'
Description-Content-Type: text/x-rst

Maestro Groups
==============

The ``maestro_groups`` module extends the ``maestro`` base module with
advanced AD group management: group templates (XML-based, editable),
distribution list management, group-level script assignment, and AD
``info`` attribute management with variable expansion.

It depends on the ``maestro`` base module.

Features
--------

* Group templates with XML-based body and variable expansion.
* Distribution list management with secondary group membership.
* Group-level script assignment (PowerShell / logon scripts per group).
* AD ``info`` attribute management with ``%VARIABLE%`` expansion
  (e.g. ``%SECONDARY_GROUP_UNC_PATH%``).
* Extends primary and secondary groups with templates, distribution
  lists, scripts, and info attributes.

Configuration
-------------

Group templates, distribution lists, and info attributes are managed
under *Maestro → Groups*.

Template variable expansion
---------------------------

Group template and info attribute bodies support ``%VARIABLE%``
placeholders that are expanded at generation time.  Supported
variables include:

* ``%PRIMARY_GROUP%`` — primary group name
* ``%PRIMARY_GROUP_CODE%`` — primary group code
* ``%SECONDARY_GROUP%`` — secondary group name
* ``%SECONDARY_GROUP_CODE%`` — secondary group code
* ``%SECONDARY_GROUP_UNC_PATH%`` — UNC path of the first shared space
  of the secondary group
* ``%DOMAIN%`` — AD server domain
* ``%AD_SERVER%`` — AD server name

Dependencies
------------

* ``ir``
* ``res``
* ``maestro``

Models
------

* ``maestro.group.template`` — group template with XML-based body.
* ``maestro.distribution.list`` — distribution list with secondary
  group membership.
* ``maestro.distribution.list.member`` — distribution list membership
  entry.
* ``maestro.group.script`` — group-level script assignment.
* ``maestro.info.attribute`` — AD info attribute with variable
  expansion.
