Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Security roles - form control

(0) ShareShare
ReportReport
Posted on by 308

pastedimage1683703265807v2.png

For the privilege "Maintain employment information in the Employment tab on the Worker form" there are two resource types of form control.

pastedimage1683703190253v1.png

However, when I open the privilege in the overview, I don't see where these controls are defined.

Could anyone explain? Is this something that must be done in visual studio?

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: Security roles - form control

    Hi Gaute,

    You can still manage some form control permissions using the security configuration form.
    In case you would need to set a different property for the NeededPermisison property, this change, must be done in Visual Studio. It would be then also better to manage the permissions for these controls via de security objects in Visual Studio.

  • Gaute K Profile Picture
    Gaute K 308 on at
    RE: Security roles - form control

     Andre Arnaud de Calavon 

    Does this mean that the ability to grant/limit access to certain fields is limited if you do it in the the user interface (system configuration)? Are there certain configurations that MUST be done in visual studio?

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Security roles - form control

    Yes, it will be done in the visual studio only. It won't be shown on the Security configuration form if Needed permission is set to manual.

    Thanks,

    Girish S.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: Security roles - form control

    Hi Gaute,

    Recently, I wrote a blog about form control security: Securing a menu item is not enough - form controls - Dynamicspedia

    In this blog, I listed a difference between how you can secure form controls via the user interface and in Visual Studio. In Visual Studio, there is an additional Form controls node which is not visible on the security configuration form. These controls are defined on the form controls node and not on the controls node on the HcmWorker form itself.

  • Gaute K Profile Picture
    Gaute K 308 on at
    RE: Security roles - form control

    Are you sure? Why are the "form controls" (picture 1) not showing when I expand the permissions as visualised in picture 2?

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Security roles - form control

    Hi Gaute,

    Employment tab page has Needed permission property set to manual. So, it must be added under the Roles.

    So, I think it must be done through visual studio.

    Thanks,

    Girish S.

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans