Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add possibility for entitlements #1319

Merged
merged 1 commit into from
Oct 30, 2023
Merged

feat: Add possibility for entitlements #1319

merged 1 commit into from
Oct 30, 2023

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Oct 30, 2023

Entitlements are a set of features that are enabled in projects.

For this, we have a features table which represents the features available
in the system. These features have each a some settings that control
how they behave.

Features are then linked to projects via the entitlements table.

There is a helper function called GetFeatureInProject that allows us
to verify if a feature is enabled for a certain project.

Note that there is no way of defining a feature or setting an entitlement
via code. This has to be an administrator action via a direct database connection.

Entitlements are a set of features that are enabled in projects.

For this, we have a `features` table which represents the features available
in the system. These features have each a some settings that control
how they behave.

Features are then linked to projects via the `entitlements` table.

There is a helper function called `GetFeatureInProject` that allows us
to verify if a feature is enabled for a certain project.

Note that there is no way of defining a feature or setting an entitlement
via code. This has to be an administrator action via a direct database connection.
@JAORMX JAORMX merged commit 626ed54 into main Oct 30, 2023
13 checks passed
@JAORMX JAORMX deleted the entitlements branch October 30, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants