Hello All,
We have 5 optionsets with value 1.In-Progress, 2. Passed, 3. Failed on custom entity.
The User1 verifies the record and set the first optionset value as 'Passed' if everything is good.
Plugin is configured on change of these 5 optionset field which will set the value as 'In-progess' for the next optionset and add and remove the user from the access team template.
Access team template on this custom entity with below permission:
Write: checked
Read: checked
share: checked
Assign: checked
Append To: checked
Append: checked
Delete: not checked.
This system shows an error when my plugin tries to add the next user and remove the current user from this access team.
The error details are below:
SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 9170xxxx-1397-e811-a968-xxxxxxxx087a0, OwnerId: f5xxxxxx-c2aa-e711-811f-e007xxxxxxxx, OwnerIdType: 8 and CallingUser: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, CallerBusinessId: xxxxxxxx-0f1c-e411-xxxx-6c3xxxxxxxxx. ObjectTypeCode: 10038, ObjectBusinessUnitId: afc5a6c6-f515-e311-9070-b4b52f6714ca, AccessRights: 327690. Computed rightsToCheck=327690, grantedRights=262154, hsmGrantedRights=None, grantedRightsWithHsm=262154.
The common security role assigned to these users with below access level.
Create: Parent-Child
Read: Org
Write: Parent-Child
Delete: User
Append: Org
Append To: Org
Assign: Parent-Child
Share: Org
Please tell me if i'm missing any privilege.
Regards,
Vinit





