Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

XDS Policy not giving expected results

$
0
0

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.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>