alkem-io / alkemio

START HERE! Cross project collaboration and shared documentation.
European Union Public License 1.2
23 stars 4 forks source link

Licensing: Runtime enforcement #1299

Open SimoneZaza opened 2 months ago

SimoneZaza commented 2 months ago

Description

Establishing a clear framework for management of licenses, that is flexible and leverages known / team understood patterns.

Allowing a license policy to be created that understands a) license type b) feature flags.

The output of a license check is either a) whether a License Privilege is granted or not (boolean) b) what entitlements a license grants for a particular feature.

The set of Features with entitlements is part of this epic.

An end to end license framework to enforce quotas on a limited set of functionality.

Out of scope: full run time integration with WingBack, though some integration may be needed.

Goal

Enforcing license per space, with visibility (read only) of what space is currently applied and what that means.

Hypothesis

Licence management encourages more users to pay for usage of the platform.

License management allows differentiated selling of the platform.

Licensing is important to enforce limits on platform functionality so that users have an incentive to upgrade.

Avoid removing functionality from users later.

Must have scope

Stakeholders

Sales Paying customers

Design

Figma file: Comments are highly appreciated. When commenting in Figma, please also leave a note in the comments box below this issue to notify us

Additional Notes

Terminology: From Wingback: Entitlements Entitlements refer to the rights and permissions that a user or organization has to access and use a particular software service. SaaS entitlements may include a variety of permissions, such as the number of users who are authorized to access the service, the specific features or functionality of the service that a user has access to. The level of access a user has to the data stored in the service, and the measures in place to ensure the security and compliance of the service.

Triggers list from previous epics that were combined into this epic: