Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

How to create Read and Update security roles for InventItemOrderSetup form?

(0) ShareShare
ReportReport
Posted on by 1,811

Hii,

We have following Default order settings form navigation from Released products -> Manage Inventory tab -> Order settings -> Default order settings Form.

By default all users having access to this form, all fields are editable in all tabs to them. 

What we want is to make all fields read only (all users can see), but only users we assign new security role should edit it??

How to achieve it? I tried by setting InventItemOrderSetup form NeededPermission property to Read but no affect. 

default-settings.png

Thanks,

*This post is locked for comments

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Hi Rana!

    User has this role and System user role or only one role?

    If user has System user role, check table there.

  • Rana Anees Profile Picture
    Rana Anees 1,811 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    One more question to ask.

    1) Changed table access level to Full control
    stoppedfield.png

    2) and field (Stopped) to No access
    stoppedfield.png

    3) Assigned this role to a user. This user has only this role. But the Stopped check box is still edit able? If I change the table access level to View then it works.
    But I need Full control on table. Any thing I am missing..?
    stopped.png

    Thanks,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Hi Rana,

    If you use the option "Apply to all roles", note that all roles will be changed in the layer you are working in. In that case, it would be hard to find out which exact roles are changed for a reason. Also, if you change something to read only, there will be no person anymore who can actually maintain a certain table. I would rather not use this option.

    The discussion continued with a lot of replies. Are there any more open questions here?

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Why not ? )))

  • Rana Anees Profile Picture
    Rana Anees 1,811 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Thanks Rustem,

    One more question...

    Override permissions form there is "Apply to all roles.." option. I used this an it applied to all Roles... Is it recommended to us it?

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    You can change access level on existing privilege and create new one and add it to your new role.

    "Override permissions for security roles, does it apply on all legal entities/companies?" - answer is Yes.

  • Rana Anees Profile Picture
    Rana Anees 1,811 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    We have three legal entities/companies.

    Override permissions for security roles, does it apply on all legal entities/companies?

  • Verified answer
    Rana Anees Profile Picture
    Rana Anees 1,811 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Thanks Rustem and Raheel,

    The menu item as more than 20 security roles with Full control.

    a) Should I update all those security roles? Because we want all AX users should view but only users with role we assign can edit?

    b) To give edit access should I create new Role?

    full-controll.png

    Thanks,

  • Verified answer
    Raheel-Khan Profile Picture
    Raheel-Khan 1,371 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    You need to over ride permissions on the specific role with have this table, as per screenshot you are overriding permission on the role "Accounts manager" which have not this table... In my case, I am over ridding permissions on "Product Designer" or "Product designer Manager" in which these table are shown:

    Screenshot:

    5265.7.PNG

    Regards,

    Raheel

  • Verified answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: How to create Read and Update security roles for InventItemOrderSetup form?

    Hi Rana Anees!

    You can find security role by right click on Privilege and select "View related security role":

    Screen-Shot-2018_2D00_10_2D00_02-at-11.09.21.png

    Screen-Shot-2018_2D00_10_2D00_02-at-11.09.21.png

    Screen-Shot-2018_2D00_10_2D00_02-at-11.03.54.png

    But you need install Security Development Tool first: https://kaya-consulting.com/ax-2012-security-development-tool-part-1/

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans