Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Suggestions for Best way to Display Button on Ribbon based on security role

$
0
0

Hello,

I think there may be some threads on this and so will check those as well but wanted to get suggestions for best way to only show a couple of custom buttons based on security role. For a certain security role that exists these two buttons should basically be visible and available all the time until the entity record itself is inactive. This is for an elevated user.  For most typical users they will not see this button until the record is in a particular state/status.  This second part was already done via ribbon xml.

We accomplished the first part also by stipulating in the ribbon that if the user had delete privileges on that particular entity they would see these buttons (referring to the above elevated users). This was the only way seen possible to make this kind of request happen based on the security role - ribbon xml did not appear to have a 'security role' rule  - only entity privilege type rules.  Turns out that this security role will no longer have the delete privliege on the entity so that idea will no longer work.

Thanks


Robert


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>