How to specify different roles for entity instance

Hi…
I have an user with different roles… How do i strictly assign different role for instances of an Entity…?

Hi,
What do you mean by “assign different role for instances of an Entity”?

For Example: I have two Roles assigned for an User:
Role A - Full CRUD Operation for the Task Entity,
Role B - Read Only Operation for the Task Entity

I have 2 instances of the Task entity (which is Instance A & Instance B). I want to assign Role A for Instance A & Role B for Instance B.

You cannot do this with roles, what you want is a row-level access control. Look at security constraints or check your instances programmatically.