Use Custom Permission without View Setup and Configuration Permission - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
160  Points
Idea has been posted. Give it an upvote or downvote.

Use Custom Permission without View Setup and Configuration Permission

Customization & App Building

Custom permissions are AWESOME, but there's some places where their use gets hamstringed.

For example, I can use custom perrmissions in Flow to control what users can perform certain actions or to determine the pathway of actions. I can use a custom permission to control Lightning Component visibility. 

In both cases, the user MUST have "View Setup and Configuration" permission on their profile or permission set in order for the custom permission to work. Lightning Component visibility treats the issue as "false" and simply doesn't show the component. Depending on how it's referenced, Flow will through an unhandled error thinking that Custom Permission doesn't exist as an object.

There's no reason for users to have View Setup and Configuration permission just so we can use Custom Permissions. We can use Profile data for Component visibility without the user having View Setup and Configuration perms - so why should Custom Permissions be different?

Merge Idea · Flag

  • Upvotes
  • Downvotes



from AppExchange

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.