Skip to main content

Notifications

FastTrack for Dynamics 365 forum
Suggested answer

Privilege

editSubscribe (0) ShareShare
ReportReport
Posted on by 26
Hello,
I want to associate a privilege with a field located in a form. This field is of boolean type. How can I do that?
Categories:
  • Suggested answer
    Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,361 Super User on at
    Privilege
    Thanks for the clarification. This requirement can be solved, but it works a bit differently than you might expect. You can manage field permissions to grant read permissions, but effectively, the user will have edit rights. So, the solution would be setting up 'deny' permissions on the update of fields for users that are not allowed editing the field. See my blog for an example bassed on another use case.  Security how-to: Only a finance user is allowed to change the on-hold status of vendors and customers - Dynamicspedia
  • Community member Profile Picture
    Community member 26 on at
    Privilege
    Hi @Andre Arnaud de Calavon
    How to develop a privilege that prevents the user from modifying a field on a form,this Field should not be modified by any user unless someone has the privilege granted through security and this is a custom Boolean field in the datasource linked to this Form.
    Thanks
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,361 Super User on at
    Privilege
    Hi,
     
    Can you elaborate on the requirement? What do you mean by "associate a privilege with a field"? Is the requirement that the field should not be visible to any user unless someone has this privilege granted via security? Is this a custom field or a standard field in the application? Is it a physical field or an unbound control? Please provide more context so we are able to understand what exact behavior of the security you need to implement.

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,361 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,155 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans