Metadata-Version: 2.5
Name: trytond_cmdb_licensing
Version: 8.0.0
Summary: Configuration Management DataBase
Author: Clemens Hupka
Maintainer-email: Clemens Hupka <clemens.hupka@backend.at>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: configuration,database,management,tryton
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Description-Content-Type: text/x-rst

CMDB Licensing Module
=====================

The ``cmdb_licensing`` module provides platform-level license key
management for SaaS CMDB installations.

It enables operators to issue license keys that control which CMDB
sub-modules are available to a tenant and enforce per-module quotas
(e.g. maximum number of assets, availability of certain modules).
A license key carries feature flags and quota definitions; CMDB
modules can optionally query the licensing module to gate functionality.

The module is **standalone** — it does not depend on ``cmdb`` because
it is the licensing layer that gates access *to* CMDB modules, not a
consumer of the CMDB data model.

Scope
-----

``cmdb_licensing`` covers **SaaS platform licensing**:

- License key management with feature flags and quotas.
- Per-module item quotas (e.g. max assets, max computers).
- Feature toggles (e.g. which sub-modules are available).
- Key validation and expiration tracking.

It does **not** track per-asset software licenses or entitlements —
that is the responsibility of the ``cmdb_license`` module.

Relationship to cmdb_license
----------------------------

``cmdb_licensing`` and ``cmdb_license`` are distinct, non-overlapping
modules:

- ``cmdb_licensing`` — platform-level license key management for
  **SaaS CMDB installations**, enabling features and quotas across
  CMDB modules.  Does **not** depend on ``cmdb``.
- ``cmdb_license`` — license keys/entitlements **per asset** within a
  CMDB installation.  Depends on ``cmdb``.

The two modules are independent and can be installed separately.
