Skip to main content
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
2 votes

ApexCRUDViolation: check for object-level delete permission does not work

I feel like this is a bug, because you're doing all the right things, but perhaps not in the right order that the scanner expects. I'd have to check the rule to be certain. For now, you can probably ...
sfdcfox's user avatar
  • 493k
1 vote

Any connection between Custom Permissions and Profile?

It's called SetupEntityAccess, which you can query to get the current permissions, and then delete. String permName = 'Demo'; CustomPermission p = [SELECT Id FROM CustomPermission WHERE DeveloperName =...
sfdcfox's user avatar
  • 493k

Only top scored, non community-wiki answers of a minimum length are eligible