Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Security: Table Permission in a role

Posted on by 200

Hi ,

1. When giving access to an action menuitem in a privilege do we need to add all the tables used within the code in the permissions of the privilege whether their data is read/updated/deleted?

2. Working on a process modification - I added a fresh new table and inserted /retrieved data from it ,but when checked the same process from the role  (that has access to the privilege(not modified) of the proess ) .I was able to complete the process . How come that there was no error given about no access of the new table?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Security: Table Permission in a role

    Hi Nishi,

    Nikolaos is correct. For your reference, you can also read the next page for more understanding what happens exactly under the hood: docs.microsoft.com/.../automatic-inference-of-permissions-in-aot-security

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Security: Table Permission in a role

    Normally it's enough that the user has access to the menu item that launches the process.

    But a developer can require specific table permissions by setting the AOSAuthorization property on the table.

    https://docs.microsoft.com/en-us/dynamicsax-2012/developer/aosauthorization-property-on-tables

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans