Groups and Users
Users can belong to one or more groups.
This is usefull to give users access based on their groups. As groups can be automatically provisioned from the IDP as described here: User Provisioning
With that you can build Access control on to the Space and Files and Folders like described here: https://unique-ch.atlassian.net/wiki/spaces/SD/pages/592871488/Knowledge+Base+Interface#Define-data-access-of-a-Space
But that also allows for having Metadata on the user that can be used through out the system.
Group & User configuration resulting in user Metadata
Groups and users have configurations that can be used for the prurpose:
Filtering the data via smartRules.
In prompts for adding knowleadge about the user for example the name or the Email address of the currently logged in user.
Custom claculations within 3rd party modules Deployment of Hosted SDK Module
What metadata is on the Users and Groups can be freely defined and set via API. Managing groups & group members via API
As a Users can belong to multiple groups at the same time there is a defined way on how the users inherit Metadata from the groups:
The groups are sorted A-Z
The metadata is collected starting from “A” overwriting the the data of the groups that came before. That means the group Z would win out.
then the User configuration is added to the metadata and this supersides the data from before if there is a clash in naming.
Here is an example:
A user named John belongs to the Group “A” and to the group “B“ and they have the following configurations.
Jon:
userConfiguration: {
location: "New York"
favouriteFood: "Pizza"
}
Group A:
groupConfiguration{
location: "London"
headMaster: "Tom"
additionalInfo: "Co-Working Space only"
}
Group B:
groupConfiguration{
location: "Zurich"
headMaster: "Michelle"
bestBar: "OleOle"
}
This would result in the follwing metaData for a user:
Jon:
Metadata: {
location: "New York"
favouriteFood: "Pizza"
additionalInfo: "Co-Working Space only"
headMaster: "Michelle"
bestBar: "OleOle"
}
Author | @Andreas Hauri |
---|
© 2024 Unique AG. All rights reserved. Privacy Policy – Terms of Service