Is it possible to assign multiple AERoles to an Identity through a single IT Shop request?
说明
Is it possible to assign multiple AERoles to an Identity through a single IT Shop request?
原因
It is not possible to assign an AERole to an ESet. This is because items assigned to an ESet are granted to the linked person record via inheritence. However, membership in an AERole cannot be created by inheritance. Therefore the method is incompatible.
解决办法
As a possible workaround, add another resource to the ESet. This resource would then be assigned to the Person record (the Identity), and based on that assignment it would be possible to configure a function to create the assignment to the AERole.
For example, say we use "QERResource" as "another thing".
1. Create resources for every AERole which should be included in an ESet. 2. Assign that resource to the ESet.
So far it has been achieved that a person record that receives the ESet also automatically gets the resource.
After that, either implement processes for PersonHasQERResource which add/delete the membership in the AERole or create a dynamic role for the AERole which adds every person record that owns the resource to the AERole.