Hi ,
In current version of D365, I had created XDS policy with
a) Primary table as DirPersonUser
b) Constraint table as Purchtable, with table relation expression as
(PurchTable.CreatedBy==DirPersonUser.User)
c) Policy query which has DirPersonUser with criteria
DirPersonUser.User=currentUserId()
d) Operation=InsertUpdateDelete
e) Contexttype=RoleName (associated to existing Custom role, which has access to Purchtable form)
Expected result :
a) For the transactions created by current logged in user should allow insert/update/delete
b) For transactions created by other users, should be only viewed and it should throw
"Security Policy Permission denied" error
Actual result :
It is throwing "Security Policy Permission denied" error for all transactions including the ones
created by logged in user, ideally it should allow modification/deletion/insertion
Need your help here.