Metadata-Version: 2.5
Name: trytond_maestro_users
Version: 8.0.1
Summary: Maestro AD user 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,maestro,tryton,user-management
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: pillow
Requires-Dist: qrcode
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 Users
=============

The ``maestro_users`` module extends the ``maestro`` base module with
advanced AD user management: configurable login generation, 15+ password
generation algorithms, user templates (directories, files, shortcuts,
symlinks), unique email generation, and user search by name/firstname/
login/email.

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

Features
--------

* AD user create/modify/enable/disable/delete at any tree level.
* Configurable login generation formula (``%FIRST_NAME[1]%%NAME[7]%``).
* Password generation with 15+ algorithms (phonemes, random, mixed,
  passphrase, l33t, etc.).
* User template model with directories, files, shortcuts, and symlinks
  generated at user creation time.
* Unique email generation with configurable domain and conflict
  resolution (numeric suffixes).
* User search by name, first name, login, and email.

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

Default login generation formula, password algorithm, password length,
and email domain are configured via the ``maestro.user.config`` singleton
model under *Maestro → Configuration → User Configuration*.

Login formula syntax
--------------------

The login formula uses ``%FIELD[N]%`` tokens where ``FIELD`` is a field
name (e.g. ``FIRST_NAME`` or ``NAME``) and ``[N]`` is an optional number
of characters to extract from the beginning of the field value.  Literal
text outside tokens is preserved.  Example: ``%FIRST_NAME[1]%%NAME[7]%``
produces ``jdoe`` for a user named John Doe (first letter of first name
+ first 7 letters of last name).

Password algorithms
-------------------

* ``phonemes`` — pronounceable phonemes (default).
* ``random`` — fully random alphanumeric.
* ``random_alpha`` — random alphabetic.
* ``random_alnum`` — random alphanumeric (same as ``random``).
* ``random_hex`` — random hexadecimal.
* ``random_punctuated`` — random with guaranteed punctuation.
* ``mixed`` — mixed case + digits + punctuation.
* ``xkcd`` — XKCD-style multi-word passphrase.
* ``passphrase`` — dictionary-based passphrase.
* ``pin`` — numeric PIN.
* ``l33t`` — leetspeak transformation.
* ``shuffled`` — shuffled character set.
* ``sentence`` — random sentence from word lists.
* ``pattern`` — pattern-based generation.
* ``haiku`` — haiku-style passphrase.
* ``markov`` — Markov chain generated.

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

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

Models
------

* ``maestro.user.config`` — singleton configuration model.
* ``maestro.user`` — extended AD user with login/password/email
  generation and template application.
* ``maestro.user.template`` — user template with directories, files,
  shortcuts, and symlinks.
* ``maestro.user.template.directory`` — template directory entry.
* ``maestro.user.template.file`` — template file entry.
* ``maestro.user.template.shortcut`` — template shortcut entry.
* ``maestro.user.template.symlink`` — template symlink entry.
