Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / XDS policy Block create
Finance forum
Suggested answer

XDS policy Block create

Posted on by 31
Hi everyone,

I created an XDS to filter the projects by user on ProjTable.

I created the Query, Policy, and a Role with a contextString, and I set the property Operation in the policy to ALLOperation.

However, this XDS prevents the user from creating a new project and shows this error: Cannot create a record in Projects (ProjTable). Security policy permission denied.
 
how can i rosolve that
 
 
  • Waed Ayyad Profile Picture
    Waed Ayyad 2,982 on at
    XDS policy Block create
    Hi,
     
    I'm glad your question is resolved now, since my answer helped you, please mark it as verified.
     
     
    Thanks,
    Waed Ayyad
  • Anme1 Profile Picture
    Anme1 31 on at
    XDS policy Block create
    Thank you, Ayyad, for the response.

    The solution is to set all operation properties in the policy to "Select" and to call the Xds() method in the temporary table after the insert of projtTable (in my case, I placed it after the Close() method of the ProjTableCreate form).
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 2,982 on at
    XDS policy Block create
    Hi,

    Is your issue resolved? If yes, mark the answers that helped you as verified.


    Thanks
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 2,982 on at
    XDS policy Block create
    Hi,
     

    Change the Operation property in your security policy from All Operation to Select as All Operation will prevent Insert, Update and Delete.

     

    Thanks,
    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue
     

     

  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,808 User Group Leader on at
    XDS policy Block create
    Hi @Anme1,
     
    Can you please share with us a screenshots.
     
    Best regards,
    Mohamed Amine MAHMOUDI

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,623 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,463 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans