Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Security restriction on info part fields

Posted on by 3,221

Hi

If a record on PurchTableListPage is selected, below line fields are shown by info part PurchTableListPagePreviewPane.
We tried to restrict fields e.g. PurchPrice by adding PurchLine table to the permission node of the info part.
Giving NoAccess to PurchTable and PurchPrice field, add Manual on ManagedBy. But these doesn't restrict from viewing the field.
What's the correct way to apply this?

Thanks for help.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Security restriction on info part fields

    Hi Jan,

    Yes, this has to be done for each role where you want to restrict it. In the client you can also set the override permissions and then copy the setting to other roles.

  • Jan M. Profile Picture
    Jan M. 3,221 on at
    RE: Security restriction on info part fields

    Hi

    The customer has many roles with this table. If there is no central place to restrict like on the info part, it means he hast to add the restriction to all the roles with this table?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Security restriction on info part fields

    Hi Jan,

    You did an attempt to add a field on the table permissions node of the form part. As far as I know this is not working. You can do the override of field permissions on the security role or the privilege (from within the AOT or the Security configuration form).

    I did reproduce your issue and indeed it is not working when adding the field node on the info part. I managed to get it working by adding table permissions and do an override on the purchase agent role. As side effect, the field is also not visible on the purchase order details.

  • Jan M. Profile Picture
    Jan M. 3,221 on at
    RE: Security restriction on info part fields

    Hi all

    The user should not be able to view the fields. Testuser has a sales role, not on manager level.

    HOS_5F00_Security_5F00_InfoPart.png

    Same restriction on PurchTable Level.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Security restriction on info part fields

    Hi Jan,

    Can you tell which role or role content you are using to test the behavior? Should the user be able to view or maintain the price on the purchase order details or not? It will be helpful if you can answer these questions and also share screenshots with your current attempts.

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Security restriction on info part fields

    Hi Jan M,

    Can you share a screenshot of your settings?
    FormControl permission to delete?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans