web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to restrict field modifications on pages depending on the user and the new value

(0) ShareShare
ReportReport
Posted on by

Hello,

I would like to know if there is a way to allow or forbid a table field modification depending on the user and the value, for example:

User A should be allowed to modify the field "status" of the "customer-account" page from "active" to "blocked" but not from "blocked" to "active".

User B should be allowed to do the opposite, modify the customer-account status from "blocked" to "active" but not the other way around.

With the standard NAV permissions we can simply grant edit/read/... accesses to objects, but this kind of permission is not feasible.

I was wondering if there was a way of implemeting a modifications matrix or similar, that could allow me to do this in an elegant fashion...

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,001 Super User 2025 Season 2 on at

    The solution running in my mind at present is:

    create 2 Boolean fields in user setup table and activate then as you needed.

    Check the setup while validating the field.

  • Saurabh Shah Profile Picture
    4,560 on at

    I agree with Mohana and also doing the same.

  • Verified answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    There is not standard functionality for this, you have to customize to achieve this. There is an add-on called Easy Security you can use to control which fields to be editable,hidden.. but i don't think that even has the option to control the value of the field.

    The easy way is as Mohana mentioned control it by user setup but if you have this kind of requirement for other fields then you need to think of about creating some kind of customized permission setup for fields, tables and the values.

    mergetool.com/.../easysecurity.html

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    As you wanted to have a setup for the user permission, my suggestion is to create a separate table or modify the user setup table. In the table, add two new boolean fields and at the time of user change the status (onValidate) write a code to check the user permission.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans