Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
8 views

Which permissions are required to enable History Tracking?

Working through some training exercises and trying to track history on some fields in the Account object. I'm getting an Insufficient Privileges error. Which permission do I need to be able to do ...
0
votes
0answers
6 views

Insufficient access rights error when Customer Community users edit contacts

We're running into an issue where Customer Community users cannot edit contact records, even though this page says they can: https://help.salesforce.com/articleView?id=users_license_types_communities....
0
votes
2answers
18 views

Where are “Standard Object Permissions” in Profiles?

I can't find them. I'm an administrator.
0
votes
1answer
20 views

Can we restrict edit access of community /partner users?

I want to restrict edit access of community/partner portal users from internal user. I have disabled "Manage users" permission and its dependant permissions from internal user's profile, but still I ...
0
votes
1answer
35 views

Files related list on force.com site

I have a related list of files "AttachedContentDocuments" on a VF page (using the tag), which is accessed through a force.com site. This page works as expected for the logged in user. But when ...
0
votes
0answers
21 views

Unable to update fields on community user record

I am trying to update a field on User record for community user but I am getting insufficient privilege error. I am able to update the same field on all the users except this one profile I don't have ...
0
votes
0answers
21 views

Using Custom Permissions to restrict picklist values to specific users

My goal: Using Validation Rules and Custom Permissions to restrict accessibility of specific values seen in the Account Type picklist to be available only to specific users. I have the custom ...
0
votes
0answers
32 views

Lightning continuation callout pattern does not respect user permissions

I am working on a lightning application that uses the lightning apex continuation callout pattern found at this link: https://developer.salesforce.com/blogs/2017/09/invoking-apex-continuations-...
0
votes
1answer
14 views

insufficient access rights on cross-reference id in Flow when Writing to Lookup Field

I have a lookup field to the account on a custom object. I have a flow that I'm using to populate fields to that object that is used by our community users. When I try to write to the account lookup, ...
0
votes
1answer
17 views

No edit permissions error for an admin user (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY)

I must start by saying that I am not a Salesforce developer, admin or even a user (for a long time anyway). The company SF admin resigned and I am trying to cover some of his responsibilities and ...
0
votes
1answer
29 views

Update fieldPermissions with metadata api of Salesforce

I try to update the permissions on a field created from the API so that it is visible and usable. so I do this via the salesforce metadata API. responses = client.call(:update_metadata, message_tag: ...
1
vote
1answer
45 views

Invalid type for implements System.Schedulable Class [closed]

I have the following class which I try to schedule from the anonymous window but this gives the error: invalid type:abc_RiskSchedulerProcessor Class global class abc_RiskSchedulerProcessor ...
0
votes
2answers
40 views

Opportunity product field permissions

I'm looking to give specific user access to edit single custom field on 'Opportunity Product'. This user should not have the ability to edit any 'Opportunity' field. I created ‘Opportunity Product’ ...
0
votes
1answer
27 views

How to get access to the 'Setup -> Create -> BigObjects' page?

How to get access to the 'Setup -> Create -> BigObjects' page? It was working fine recently and now I'm receiving Insufficient Privileges
0
votes
0answers
25 views

Volunteers for Salesforce Attempt to de-reference a null object site functionality

I have been having this issue for a few days now and have no idea where else to look. I have implemented Volunteers for Salesforce for a client and so far it has worked...okay. The volunteer portal ...
0
votes
1answer
38 views

How to create a 100% Read-Only profile in Salesforce (including 'Salesforce objects' as shown in DataLoader)?

Please hear me out completely. I am trying to create a profile where user can read data (= export) from Data Loader, but NOT insert/edit/delete ANYTHING back through it. So I created a profile with ...
1
vote
1answer
18 views

Customer Community licence is not allowing to give view all access on account

Organization-wide default is Public read/write. I want a community user to access all account from community. I tried to give view all access through permission set but getting an error - . The ...
1
vote
1answer
22 views

Find out how an user has View Encrypted Data permission?

I have an user who is not able to view the SSN field whereas he had access to view the SSN field before. It appears that the "View Encrypted Data" permission has been revoked for him. The profile of ...
1
vote
2answers
41 views

How to allow edit access to for certain record types only

I need all user to be able to see all opportunities. However, Department A should only be able to edit opportunities assigned to 3 record types (x,y,z) and Department B should only be able to edit ...
0
votes
1answer
28 views

Editing Closed Won Opportunity Line Items?

I am trying to modify Opportunity Line Items of a Closed Won Opportunity. When I am using an user with System Administrator profile, it allows me to edit as well as delete opportunity line items ...
3
votes
1answer
129 views

Apex class invalid for community user but not standard

UPDATE: this might be a Spring 19 only issue. Will try to confirm this. If I create an opportunity with a standard Salesforce license, no problem. But if I try the same operation as a community ...
0
votes
0answers
22 views

How to remove user object record edit permission for Community users

I have some community users with license customer community. The issue I am facing is that they are able to view other users and edit and modify their details. Is there any way I can stop them from ...
0
votes
0answers
24 views

Permission issue about site and internal user

I have site and guest user is activated in there. In this case, for allowing records creation from guest user, I granted permission to site guest user profile. However, now I saw some weird situation....
0
votes
2answers
43 views

Sharing Rule is not granting access to a public group

I am working with an object called Scope Library. I want users to have read access by default. I want the group Presales to have read, edit and create access on the object. To give users read only ...
0
votes
0answers
79 views

ContentVersion custom field permissions

I have added a custom field to my ContentVersion standard object. Community users are uploading files, but I do not want them to be able to view or edit the new custom field. I cannot find where do ...
0
votes
1answer
25 views

Record type behavior not working on edit record layout

I have one question regarding Salesforce Record Type. I have two different user profile. Admin Manager I have created record type for both users in which I control the status field (Picklist Value). ...
0
votes
1answer
27 views

How do I assign the Analytics cloud builder permission set license to a user?

I've been trying to use Einstein Analytics. I've enabled analytics but I'm still not getting the analytics studio app in the app menu. I am not able to assign the Analytics cloud builder license to ...
0
votes
2answers
56 views

Salesforce DX deploy fails due to unknown user permission

When using salesforce dx to deploy an app we get the unknown user permission unknown user permission :workcalibrationuser unknown user permission :sandexternalemailAvailable unknown user ...
-1
votes
2answers
35 views

Can some one tell how setup object effect non setup object exact into one transaction?

In this case example please explain .... what exactly happening if i am not calling future method. trigger Automatecontact on Account(after insert) { List<contact> lc = new List<contact>(...
2
votes
0answers
83 views

Delete __Sharing object

I'm receiving the following error: TR09_MasterServiceAgreement: execution of AfterInsert caused by: System.DmlException: Delete failed. First exception on row 0 with id 02c1800002Lir2PAAR; ...
3
votes
0answers
77 views

INSUFFICIENT_ACCESS_OR_READONLY - Cannot Delete QuoteLineItem

17 QuoteLineItem records were loaded into the org via Dataloader with the incorrect product2id listed. When trying to delete the records in the GUI while logged in as a System Administrator, the ...
0
votes
1answer
22 views

Prevent approving own emails in SFMC

I have created a two-step approvals team which has two users, John (Submitter) and Jim(Approver). Jim is able to create and submit emails for approval to this team and approve himself. How can this be ...
0
votes
1answer
19 views

I need to restrict access to users from seeing/using Lightning custom Tab

I need to restrict access to users from seeing/using Lightning custom Tab. Not all users should get access to it. I want to control this with a permission set and I Need to remove tab access from all ...
1
vote
1answer
101 views

Login as another user without View setup and configuration permission

Can an user be given login as another user privileges without giving 'View Setup and Configuration' permission and 'Modify All Permission'? As the need is to do testing in sales force logging in ...
1
vote
1answer
16 views

Profile-Object Pair Chatter Permissions

Can we deactivate chatter for a specific object OX and profile PY pair? Or make read-only if that's a thing. The issue is that profile PY must use chatter normally on other objects and object OX ...
0
votes
2answers
36 views

Non-admin users in Developer Edition Org

I have set up a user with profile with limited access rights in a Developer Org. I need the user to be able to execute Apex classes, but not to have access to the source code. Is this possible? When ...
2
votes
1answer
155 views

soql on object permissions on a profile

I was trying to find out CRUD level permissions for a particular object on a specific profile for which I've framed below query: SELECT Id,SObjectType,PermissionsRead,PermissionsCreate FROM ...
0
votes
0answers
25 views

Restricting Access to All Subscribers

For compliance reasons, we need to restrict our user's access to All Subscribers but still allow them the ability to look up activity and engagement information for specific contacts. We use the multi ...
-1
votes
2answers
35 views

How to give custom object delete permission to all users in org?

The user can belong to any profile or role. In future, any new user created with a new profile or with a new role, he/she will get delete permission automatically. Please suggest a solution without ...
2
votes
1answer
132 views

Is there a difference between the 'Use Any Api Client' and 'API Enabled' permission for Profiles?

I noticed the 'Use Any Api Client' permission only available if 'API Client Whitelisting' is enabled. How can we query this permission on profiles? Once 'API Client Whitelisting' is enabled, does the ...
1
vote
1answer
95 views

Profile Error deploying via Ant - Manage Customer Users requires Edit Contact

I have the below setting in one of the profile: <userPermissions> <enabled>false</enabled> <name>ManageCssUsers</name> </userPermissions> <...
0
votes
1answer
19 views

Query Access for Group, Group Member, RecordType, UserRole

What permissions / controls, if any, are there to control whether a user can query group, group member, recordtype, or user role? If they are not a member of a group (role, group), can they query all ...
0
votes
2answers
153 views

GiveRecognitionBadge user permission

I am getting Unknown user permission: GiveRecognitionBadge while deploying the admin profile by ANT.I can the comment the permission in the profile XML and deploy but it would be great to know what ...
0
votes
0answers
52 views

Reports not showing in partner comunities

I created a community page with a Lead report (standard lead report type), but when a user with "Partner community" profile tries to view the report gets the following message: "you don't have ...
2
votes
1answer
102 views

Test Class failing in production [closed]

I have a test class failing while validating it and its base class deployment to production. The test setup is creating several records in 2 objects (1 standard 1 custom) and inserting them as a ...
0
votes
0answers
52 views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id

I'm triggering an email with OnAfterInsert. Inside the method, I have access to all the necessary data to send the actual e-mail: emailtemplateId whoId whatId internalEmailAddrs externalEmailAddrs ...
0
votes
0answers
102 views

Notes and Attachments permissions

I thought the standard "notes and attachments" section inherited the permissions from the object its under. For instance, I have "Create" permission attributed to the Account object and I have able to ...
4
votes
2answers
290 views

For the Platform Event “Automated Process” user, why do both Visualforce controller access and email sending fail?

We are executing some asynchronous code that uses getContentAsPdf on a Visualforce page as the result of handling custom platform event and we get this error in the Apex Jobs listing: First error: [...
2
votes
2answers
346 views

Possible reasons why a quick action button is not shown for a non-admin user?

I've added a "New Action" in Account / Buttons, Links, and Actions. I've added the action/button to the Page Layout and it does show for me. It runs a Lightning Component that creates a customized ...
3
votes
1answer
223 views

Visible vs Read Only?

Opportunity Fields > "Field Label/name" > Set Field-Level Security > What is Visible vs Read OnLy? A Google Search Revealed: Visible : If you check the "Visible" checkbox, that field will be ...