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

New answers tagged

0 votes

getObjectInfo/getPicklistValues permissions needed in public community

Setup -> All Sites -> Workspaces -> Preferences -> check the checkbox Allow guest users to access public APIs It works for me
april wu's user avatar
0 votes
Accepted

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

Confirmed as an issue. Solution that does not include check on isDeletable() (docs): delete as user configs; // OR Database.delete(configs, AccessLevel.USER_MODE); Linked issues: https://github.com/...
Mariia Illarionova's user avatar
0 votes

How can I get the user-friendly label for the available permissions?

I had the exact same question. I had no luck with an easy solution but this is what I came up with: PermissionSet maxperms = new PermissionSet( Name = 'MaxsPerm', Label = 'Maxs Perm', ...
MadMax's user avatar
  • 1,000
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
-2 votes

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

This may help you out. public with sharing class TestClassApex { public static void exampleMethod() { // Check if the user has delete permission on the CBConfig__c object if (...
Akanksha Garg's user avatar
0 votes

No Access to Auto-Suppression

I suspect a recent change indeed. I usually set three roles for myself: The two admins & a role where I hide stuff I dont use, including suppression lists. I DO use autosuppression lists (which ...
Jonas Lamberty's user avatar
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
0 votes
Accepted

When a new Object is added to the Org, Bot User should get automatic Read Access

Thanks @cropredy for pointing me to Veiw All Data under System Permissions (on Profile or Permission Set). This automatically adds Read and View All to all objects, including newly added objects. It ...
Ryan McNeely's user avatar
0 votes

Assign permission set to Automated Process User causing error "CUSTOM_TAB_LIMIT_EXCEEDED"

I just created a blank permission set with only access to external credentials and could assign it to the automated process user
Oleg M's user avatar
  • 37

Top 50 recent answers are included