Reputation: 576
I have three custom entities; Project
, ProjectStageExternal
and ProjectStageInternal
,I have added a workflow which will create ProjectStageInternal
and ProjectStageExternal
records when admin creates a Project
record.
Now I have a security roll named customer
. Users having this roll only read the Project
and ProjectStageExternal
records.
The problem is workflow is not working when ownership is changed to users having customer
security roll. Its showing this following error: The selected user does not have sufficient privileges to be assigned records of this type.
what am I missing here?
Thanks.
Upvotes: 0
Views: 7007
Reputation: 11
Only providing Read Privileges to the user/team whom the record is to be assigned will work perfectly fine !!
Upvotes: 1
Reputation: 17562
That security role has basically no permissions on those entities, so the users wont be able to do anything with them.
If you want someone to be able to assign (or have a workflow assign on their behalf) you need to grant the assign permission and probably write as well.
If you dont want to grant them those permissions, change the workflow's Scope to organisation and assign it to an admin user. That means the workflow will run with the admins permissions and security roles.
Upvotes: 1