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

Let Policies declare to be applicable only for certain namespaces #1637

Open
thjaeckle opened this issue May 16, 2023 · 0 comments
Open

Let Policies declare to be applicable only for certain namespaces #1637

thjaeckle opened this issue May 16, 2023 · 0 comments

Comments

@thjaeckle
Copy link
Member

Define that a policy entry is only applicable for entities within a certain or several certain namespaces.

This feature is especially useful when used in combination with policy imports and eg defining in a "root policy" that the policy shall only be applied for a certain namespace.

This should also be applicable to the search index.

Example use case:

  • assume a root policy is defined which shall be imported by all other policies definining an entry which shall be implicitly applied
  • however, the entry should only be applied for special groups of things, e.g. for the group of all devices, but not the group of all rooms or buildings (also modeled as things)
  • in such a case, defining special namespaces for the different groups would make sense and with the added feature in the policy it could be enforced

When using the namespace as kind of tenant name for a multi tenant system, such a namespaces scoping would even improve tenant isolation.

@thjaeckle thjaeckle changed the title Let Policies declare to be applicable only for certain namespace Let Policies declare to be applicable only for certain namespaces May 16, 2023
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

No branches or pull requests

1 participant