Skip to main content

Notifications

Announcements

No record found.

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

How to setup custom Privileges ?

(0) ShareShare
ReportReport
Posted on by
Hi guys,
 
When create custom security privileges, what actually the important and needed to be setup ?
If I have a Form extension, and inside there is some addition button, do I need to specify this button specifically in Form Control Permissions ?
 
If I only add an Entry Point in this custom Privileges, and drag the Form name (the original, not the form extension), and in the Entry Point node I did specify Access Level : Correct, will all the buttons, both original and custom button appear ?
 
Thanks,
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    How to setup custom Privileges ?
    On the particular reply - Below there is a check box "Did this answer your question".
    Thanks,
    Girish S.
  • Voltes Profile Picture
    Voltes 592 on at
    How to setup custom Privileges ?
    How to remark the thread is closed, btw.
    This is already solved.
    Thanks.
  • Voltes Profile Picture
    Voltes 592 on at
    How to setup custom Privileges ?
    Hi all,
     
    Yes, at first I thought no need to specify it, but after Girish replied, I tried to add and it is worked.
    Thank you all for the guidance.
     
    rgds,
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    How to setup custom Privileges ?
    Hi,
     
    Having access to a menu item is not granting access to other menu items used on the form that will open. I wrote some blogs about that topic:
    Like mentioned by Mohit and Girish, you would need to add more menu items to the privilege or add other privileges to a duty or this role.
  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    How to setup custom Privileges ?
    Hi Voltes, ReportParameter ButtonGroup has a commandButton but all other ButtonGroups in RetailTransactionTable form have menu item controls. You need to add the privileges of those menu items in security role.
  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    How to setup custom Privileges ?
    Hi Voltes,
     
    Each button will have some menu item mapped to it. So, you need to add that menu item to your custom privilege also. Then only you can see that button on your form.
     
    Thanks,
    Girish S.
  • Voltes Profile Picture
    Voltes 592 on at
    How to setup custom Privileges ?
    Hi,
     
    Anyone can help me on this ?
    As mentioned, if I checked again at the form it self, all the menu item buttons - Need Permissions property is set to None :
    Form : RetailTransactionTable ->
     
    And I created my custom Display menu item for that form :
     
    Then created the Security Privilege for this and add the Display Menu Item (... name ended with "invoice") :
     
     
    But when I tried to use this Privilege, from those button group in the 1st picture, only Report Parameters button shows. But I didn't see any different between button "Report parameter" and the other buttons.
     
     
    Thanks.
     
  • Voltes Profile Picture
    Voltes 592 on at
    How to setup custom Privileges ?
    Hi Girish,
     
    Sorry, my bad. In the Entry Point, actually I add the Display Menu Item. In this menu item has the Form. And while it has form extension, both original and extensions menu item for the button's property Need Permission is set to None. And in that Entry point's access level, I set it as Create.
     
    So the issue here is, there are no button appeared when I'm using the Privilege.
     
    Thanks.
  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    How to setup custom Privileges ?
    Hi,
     
    When you create custom security privileges - You need to add the custom Output or Action or Display menu to the entry points and set the access level.
    Also don't need to add the button controls to the privilege - Form controls will be added the privileges only if the "needed permission" property is set to manual.
    You need to add the menu items to the entry points not the forms. 
     
    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…

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans