Questions tagged [permissions]

Salesforce permissions are all about what a user can do in terms of Field Level Security, object level access, Apex class access, Visualforce page access, and other built in Salesforce access that are handled via a profile or permission set.

Filter by
Sorted by
Tagged with
0
votes
2answers
37 views

How to turn on/off specific content blocks for a user?

In Salesforce Marketing Cloud Content Builder, I am an admin but can only see a code snippet block and HTML block option. Where can I turn on layout, image, free form, and other blocks? Thanks in ...
4
votes
1answer
99 views

Do additional Permission Sets reduce Salesforce Performance?

I have hundreds of different functionalities setup in Salesforce each with its own Permissions Set for various privleges (FLS, Class access etc), given to various roles across the business. I wish to ...
0
votes
0answers
31 views

Changing field level permissions using REST API

My goal is to change field level permissions using REST API. I'm trying to use API's in order to create a new field on Lead object and then write to it. That's the API call I used in order to create a ...
0
votes
0answers
11 views

Necessary permissions to allow Non-Admin(Salesforce License) users to set Knowledge User Checkbox for customer users

I am trying to customize the "Enable customer user" functionality to avoid navigation to user create page and selecting permissions. Admin users are able to "Enable customer user" ...
0
votes
1answer
23 views

Hide a lighting component in the Experience builder

I'm trying to hide a lighting component in the Experience builder. I use "audience" to define which component is visible to which community user - https://help.salesforce.com/articleView?id=...
0
votes
1answer
15 views

outbound message session id raises "This session is not valid for use with the REST API" error

I have an Outbound Message that is received by a php webserver. The session Id is extracted and as per https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
1
vote
1answer
30 views

Is it possible to enforce permissions within a trigger?

Given that Apex Triggers run within a system context, if I then include any kind of permission check, like isUpdateable() will that actually reflect the users permissions that invoked the trigger? If(...
2
votes
1answer
101 views

Feature-based Permissions in Base and Extension packages

I am developing a Managed Base Package plus a handful Extension packages that either extend objects and code from the Base or add new objects and code. I want a fine-grained permission structure where ...
2
votes
1answer
72 views

Aura Controller "with sharing" is still acting as without sharing and allows deletion

Current Setup: I have an Aura controller which uses "with sharing" and a method deletes a lead using the Id. I set up a user with profile with no Delete access. I have also revoked "...
0
votes
1answer
24 views

Permissions required for Get Data from Salesforce Reports from Excel

MS Excel (Enterprise for Windows) has a handy tool to get Get Data from Salesforce Objects / Reports (via Power Query). This works well for me (with Sys Admin permissions), but my colleagues are ...
0
votes
2answers
34 views

CRUD/FLS checks on fields of a lookup

We have a Salesforce public site where we expose name fields of Account and Contact object. These fields are queried through a lookup of Account and Contact on a custom object. Like this: [Select Id, ...
5
votes
2answers
352 views

Winter 22 Sandbox permission error

In our testing Sandbox environment, now on "Winter 22 Patch 3.2", we have started getting this error for non-admin users viewing account pages: Looks like there's a problem. Unfortunately, ...
0
votes
1answer
24 views

Class declared as With Sharing then why Permission check?

Can anyone please explain if the class is declared as With Sharing then why do we still need to check if the User has permission for SOQL or not or the object creatable/editable etc? Please clarify. ...
0
votes
2answers
48 views

What is isCreatable and isUpdateable for FIELDS in GUI

Where can I find and enforce "CREATABLE" and "UPDATEABLE" options for fields? Because, i am able to check the permissions in Apex(below statements) whereas, not able to find what ...
0
votes
0answers
26 views

Inserts of ObjectPermission or FieldPermission fail in an InstallHandler - is there an InstallHandler alternative?

Code that inserts ObjectPermission and FieldPermission SObjects through normal insert calls (on a permission set that is also created) works fine in unit tests and through the developer console. That ...
0
votes
2answers
67 views

Tooling api sObject type 'Layout' is not supported (Permissions)

We need to work with layouts, though Apex code failed with an error for non-admin users. Error message: [{"message":"sObject type 'Layout' is not supported.","errorCode":&...
0
votes
1answer
72 views

What would be a situation in which a profile would need both the read and view all permission on an object, instead of just the view all permission?

I was looking at the object settings in a profile in my organization and I noticed that for some objects have both the read and view all permission, while some other objects have only the view all ...
0
votes
2answers
36 views

Why FirstName, LastName, Company field not found in FieldPermission query result?

I'm trying to get all fields and its read and write permission using below query SELECT Field, PermissionsRead, PermissionsEdit FROM FieldPermissions WHERE SObjectType ='Lead' AND parentId IN ( SELECT ...
1
vote
2answers
61 views

Permission Sets by Feature (instead of Role) and Grouped for Roles

My team and I are currently looking for the best way to manage permission sets. Each permission set adds overhead in development and testing. Ideally we would provide the minimum amount but as ...
0
votes
0answers
13 views

Duplicate permissions in permission sets are deleted when using SFDX deploy

For example, if I have <classAccesses> <apexClass>APX_someClass</apexClass> <enabled>true</enabled> </classAccesses> in my foo.permissionset-...
0
votes
1answer
46 views

Is it possible to get Access to Send Email (All Email Services) property in Deliverability

I try to get Send Email (All Email Services) property by ant and get metadate. But i really dont know where can i find this property. Can you give me hint what should i include in my package.xml Best ...
3
votes
1answer
83 views

Why am I getting "ORA-00907: missing right parenthesis" on an SOQL query from a managed package

I am getting the following error when calling an Apex controller accessor from a managed package. System.UnexpectedException: common.exception.SfdcSqlException: ORA-00907: missing right parenthesis ...
0
votes
1answer
49 views

How to set Maximum invalid login attempts diffrent then 0,3,5 or 10

Can you help / give ma a hint where can I change this property in Salesforce to 6 invalid login attempts.
0
votes
1answer
38 views

Which type of users has access to org limits?

I would like to know how to be sure which type of users has permissions to see org limits, and how to manage it if it's possible.
1
vote
1answer
114 views

No applicable approval process was found (Works in Debug mode)

Spent the whole day trying to find out what is the problem but didn't succeed. Setup: An org with an Experience Cloud i.e. Community website. The website has a custom registration process which is ...
2
votes
1answer
46 views

Getting 'Insufficient Privileges' Error in Post Install Script when inserting PermissionSetAssignment records

I have requirement like in managed package, we have a custom field on Contact Object. We need to grant the edit access to this custom field for all the users who have Create access on the Contact ...
1
vote
1answer
148 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY","message":"insufficient access rights on cross-reference id

I have below apex method code which is executed by community guest users for the public-facing website. PageReference pageRef = Page.myVFPage; ContentVersion conVer = new ContentVersion(); ...
1
vote
1answer
37 views

Cannot enable Standard Object Permissions for Guest User in Public Access Settings

I'm trying to enable Create and Read permissions on Accounts for the Guest user with a Salesforce Site on a scratch org. When I go to Sites in Setup, click on the site click Public Access Settings ...
1
vote
1answer
45 views

Audit Trail: profile updated

can some one please help me understand an audit trail log, there is a row that I can not understand. In short I was investigating why one of our profiles got changed, and found this line in the audit ...
0
votes
1answer
97 views

INSUFFICIENT_ACCESS_OR_READONLY Error on Order Items deletion, even though I am System Administrator

Even though I have a System Administrator profile assigned to me, and have the CRUD permissions on the Order Line Item Object, I am receiving the below error when I try to delete the Order Item ...
0
votes
1answer
77 views

Why does a single profile have duplicate permissions for the same objects?

I am running SOQL queries to compare object permissions, but get duplicate permission for the same profile. For example, the "System Administrator" profile has two identical object ...
0
votes
1answer
283 views

Omni-Channel Supervisor Agent Data Visibility

I am trying to troubleshoot an issue we are having with data visibility in the Omni-Channel Supervisor tab. In our dev org we have set up an Omni-Channel Supervisor Configuration. This allows assigned ...
0
votes
0answers
94 views

Can't see all accounts in Experience cloud even after updating Sharing Settings

I have an experience cloud set up with a CMS collection component to show all accounts in a particular view I set up. In Experience Builder I can see this CMS collection component populate with the ...
0
votes
0answers
169 views

Flow INVALID_FIELD_FOR_INSERT_UPDATE error

I have an issue and I cannot figure it out what's the problem. I have created a flow for changing shipping method and updating delivery address. When I run the flow with my system administrator ...
0
votes
1answer
104 views

Field Service Lightning Data Sync Issue

Please help me out. I am getting this error(mentioned in image below) on Field Service Lightning Mobile App. What could be the reason?
0
votes
0answers
30 views

How to mass update file sharing settings?

I am trying to mass update the file permission settings for all files. I found some articles but I don't know which LINKEDENTITYID I'm supposed to filter for. https://help.salesforce.com/articleView?...
0
votes
1answer
60 views

Unable to create File Locations in SFMC

The documentation for Create a File Transfer Location (https://help.salesforce.com/articleView?id=sf.mc_overview_create_file_transfer_location.htm&type=5) says to navigate to: Click Setup. Under ...
0
votes
1answer
42 views

Sharing rules restrictions read-only

Is it possible to prevent a user who has read-only acces to an object OWD Private creating child records with another owner of the parent record. I currently have a custom object where I can add child ...
0
votes
0answers
240 views

Guest User Cannot Send VF Email Template While Having Access to Object's Fields

I have a guest profile triggering a workflow rule/email alert when they click "Save Information" button on a public portal. If I log in as myself (internal user) the flow works and I get the ...
0
votes
1answer
104 views

What are 'View Setup, Edit Setup, Delete Setup' Object Permissions?

These are appearing in Profiles and Permission Sets under Object Settings - I cannot find any documentation on this - can someone please explain/elaborate? Thanks, Parikhit.
0
votes
0answers
60 views

How to Enable Edit access on locked records other than providing "modify all" access

I have a requirement where some specific users need the edit permission on locked contracts (contracts currently under approval) for their market only. Those users are not Sys Admins, they cannot be ...
0
votes
1answer
29 views

How can I allow a user to have read/write permissions based on a specific account value?

In our Salesforce instance we need to assign a customer success rep once an account becomes a 'customer'. We have a picklist for 'type', which has different stages such as suspect, prospect, customer, ...
0
votes
1answer
15 views

Limit user be able to view a bunch of record types and only be able to create some of them

I am wondering if it is possible to limit users from being able to see A, B, C record types of one particular SObject, but only be able to create A record type? I checked the permission set settings ...
0
votes
1answer
42 views

How to change field permission for an object change event?

How can we modify field permissions for the CustomObject__ChangeEvent fields via profile / permission sets? Is it possible?
0
votes
0answers
13 views

SOQL to find all Profiles with the 'Manage Users' user permission [duplicate]

I need to run a SOQL query (in Workbench) to identify Profiles that contain particular User Permissions (for example, "Manager Internal Users", etc). I assumed this would be simple, but I'm ...
1
vote
1answer
15 views

Delete Accounts restriction still works in unit tests

The permission to delete Accounts is unchecked in test User Profile according to this trailhead article. https://trailhead.salesforce.com/en/content/learn/projects/protect-your-data-in-salesforce/...
0
votes
1answer
174 views

How to get all ObjectPermissions associated with Permission Set

According to documentation ObjectPermissions represents only enabled object permissions for parent permission set. Permission set license determines which objects are associated with parent permission ...
0
votes
1answer
83 views

How to determine which objects / object permissions are applicapble / not applicable for a given profile?

Some Salesforce objects have own section within Object Permissions list in specific profiles, other not. As I know ObjectPermissions has ParentId field which points to PermissionSet associated with ...
0
votes
2answers
21 views

Help with this Validation Rule

I have these particular VR and I needed to open new question because has a specific problems. There are both (in Account object): Check that a field is not empty in an specific State: AND( ...
1
vote
0answers
1k views

User unable to delete account with message "There's a problem saving this record..."

I have a user who is not able to delete accounts. The delete menu button is available to them, and the "Delete Account" dialog appears for them, but when they click Delete it shows this ...

1
2 3 4 5
18