[Idea] Entity types, templates, and instances: unified model for entity creation and behavior #5193
Replies: 4 comments 2 replies
|
does Type extend, layer above, or replace the current entity type, and is it a single immutable classifier per instance or a set of attachable policy bundles? is template resolved inside the onboarding flow like type is or applied by the service layer around it, and is the applied template recorded on the instance for provenance? |
|
Hi @sahandilshan , Agree that we need a layer above instances to govern them together. But I don't think entity types should be that layer. Types are currently just a way to define a schema for subjects and bringing client configurations into this may defeat the purpose and further complicate the things. And having schemas for applications (application types) may add further complexity. I would prefer to consider templates as a separate layer for both applications and agents, with the defaults you mentioned. Instances created through this templates can be governed together. We may need to have a clear boundary on what things can be configurable at the template-level and what are per-instance level overridable (e.g. credentials, etc.). WDYT? |
|
I think the problem you're trying to highlight is a valid concern and having something like that will ease the configuration experience for a administrator or developer. But there are two aspects for this;
In our current implementation, OUs hold a set of default configurations (default flows) and get applied during console onboarding process (However currently these will only be applied during creation time and resource will get saved with the respective defaults. Hence later configurations require, configuring them individually at each entity/resource). This is somewhat into addressing the above 1st point. Also in a discussion we had this week (#5219 (comment)), a requirement was discussed on having a set of governance configs in the user type level too. If we think of introducing some other layer, there will be a hierarchy of configurations and we may be overcomplicating it. We need to consider governance aspect too and it has different levels.
Maybe we need to introduce a new concept/ or a difference laver to hold all of these, but IMO this expands to a more broader scope and need proper requirement gathering and ideation before arriving at a solution. |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Today, configuring how a class of entities (users, agents, or applications) behaves requires touching each entity individually. There is no central place to say "all contractors authenticate this way" or "support bots can only access these resources." When something needs to change, every instance must be updated one by one.
Idea
Introduce a three-level model:
What lives where
On the Type (behavior):
Changing any of these on the type applies to all its instances.
On the Template (construction):
Templates only affect the moment of creation. Once an entity exists, its ongoing behavior comes from its type.
Overrides: An individual instance can override what its type defines (e.g., one specific agent gets a longer token lifetime). When this happens, the system should track the deviation so admins can see which instances differ from their type's baseline.
Open questions
All reactions