Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How do I limit update of a specific field in a table by User?

Posted on by 5,124

Hi All,

I know I can control read/insert/mod/del permissions on a table level using permission sets.  But what I want to do now is to limit modification on a specific field in a given table.  I only want to allow mods for this field to SUPER users plus 2-3 more users.  Please advise how to go about this.

*This post is locked for comments

  • Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How do I limit update of a specific field in a table by User?

    Glad to help.

  • mbr Profile Picture
    mbr 5,124 on at
    RE: How do I limit update of a specific field in a table by User?

    I think it's a very good idea! I think I am going to use the User Setup and add Boolean fields for any fields in different tables that require specific permissions.  I have quite a few.  Thank you Suresh!

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How do I limit update of a specific field in a table by User?

    When i want to control modifications to a field or record, i normally created a field on the user setup a boolean for that permission like ex.: WMS Manager... and i assign that permission to the users in the user setup and write code in the triggers of the field or table to check if the user has the permission.

    If you don't like the idea of adding a field on user setup you can still control that using a function to access the permission set and check if that user has the specific permission in your example check if he has 'SUPER' role assigned if not error out.

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

Featured topics

Product updates

Dynamics 365 release plans