Questions tagged [custom-permission]

Custom permissions let you define access checks that can be assigned to users via permission sets or profiles, similar to how you assign user permissions and other access settings.

Filter by
Sorted by
Tagged with
5
votes
2answers
4k views

Getting all Users and their Custom Permissions

tl;dr Want to make a SOQL to return all Users and there (custom) permissions Hi there I've just started using SF, so bare with me if this is very basic. One of the usages of salesforce we're ...
9
votes
1answer
10k views

SOQL to find All Users with a Custom Permission

I was looking for a little help to find all users with a particular Custom Permission assigned to them, either via Profile or Permission Set.
3
votes
1answer
615 views

Custom Permission assign to all users by default

I'm working on creating a Custom Permission within a new Permission Set in a beta managed package. My Custom Permission: <?xml version="1.0" encoding="UTF-8"?> <CustomPermission xmlns="...
1
vote
1answer
22 views

Validation rule ownership change

I'm trying to set up a validation rule where only the current record owner or an administrator can change the account ownership. This is what I have at the moment: AND( ISCHANGED(OwnerId), $...