Skip to main content
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:
Attachments
  • Suggested answer
    Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,254 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,254 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

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 222,958 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans