We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
63 views

Insufficient Privileges exception when calling DataCloud.FindDuplicates.findDuplicates

For some users, calling DataCloud.FindDuplicates.findDuplicates throws an Insufficient Privileges exception. It would appear to be a permissions issue but I have not been able to figure out what ...
10
votes
3answers
4k views

What are permissions are needed to upload a file via a public Salesforce community page?

I would like to be able to upload files using <lightning:fileUpload which is on a public community page. The community is using template: Customer Account Portal. The files would get attached to ...
2
votes
1answer
212 views

Revoke System Administrator Clone to become “Standard User?”

I have gotten conflicting answers from the in-person and google querying: would cloning a System Administrator profile and removing the Admin/Setup permissions effectively render the Profile a "...
2
votes
1answer
24 views

Restrict tab access via search

We have a group of users who are in a separate profile that we have hidden tabs from and setup basic security. However, we have found that some of them are "inquisitive" enough to use search to get ...
1
vote
0answers
54 views

Permission for Standard button?

This should be simple, but I can't find this particular permission. A user's profile is set to be able to Edit Contacts (on the record type in this issue - that's fine), but when they click "Edit" in ...
1
vote
0answers
303 views

Field is not writeable: User.ProfileId

I'm trying to allow users in the community portal of Profile type Customer Community Login to create Contacts and Users. I am getting an issue when they try inserting a user: "Field is not writeable: ...
1
vote
1answer
247 views

Add Field level security for person accounts field

Good day everyone, I am trying to add a field level security to first name, last name field for a person account. What I did is that I go to the user profile and I've tried to update the field level ...
2
votes
0answers
126 views

Calendar is not working for a custom profile in lightning

I have one custom profile and logged in with its user in a sandbox. I am accessing calendar tab in my app. it is giving me error while loading the object. Unfortunately, there was a problem. ...
0
votes
1answer
289 views

Folder ( Report / Dashboard ) permission in managed package

We have managed package that includes reports and dashboard along with its corresponding folders. We are able to install package with system admin having following permission => "enable Change ...
1
vote
1answer
14 views

Is it possible to set the visibility of Name on Leads?

I want to restrict the visibility of the name field on Leads from API access. Is that possible? I know that field level security is possible on other fields but it doesn't seem to be available for ...
2
votes
1answer
413 views

LightningSelfRegisterController appears to be running in User context; shouldn't it run in System context?

I'm customizing the LightningSelfRegisterController shipped with Lightning Communities. I was surprised to learn that a query didn't return the results I was expecting, seamingly due to the context in ...
2
votes
0answers
573 views

Profile permisison not being deployed with ant tool

General User Permission on profile not updating (Import Personal Contacts) I have all profiles, custom permissions, permission sets, added to the repo as well as leads, accounts, contacts. After ...
0
votes
1answer
241 views

Create/Edit leads from Customer community profile users

I have some Customer Community Profile user who would like to create leads. From what I understand Customer Community Profile users do not have CRED permissions to create leads and we can't provide ...
0
votes
2answers
72 views

Attempt to de-reference a null object when traversing DescribeSObjectResult to check permissions

I have this method that checks a user's write permissions on an Apex controller. It works just fine at runtime. However, I'm writing a test to cover it (indirectly) and I'm getting a 'Attempt to de-...
0
votes
1answer
337 views

Unable to create or query custom object records from guest user

I have a self-registration page for my community. I am able to create users and contacts but when it fires the trigger it lmscons.SFDCAccessControlException: Access Violation Exception I have added ...
1
vote
1answer
23 views

Custom Setting for User Create Access Remove

In my org 4 users have the same profile and have all CRUD permission. My requirement is: I don't want to give create access to only one user with the help of custom setting, but I am not aware about ...
0
votes
1answer
573 views

User Unable to change Recordtype on Case

Verified in user profile Recordtype assigned at Case. On user profile Case have CRE permissions. But while change Recordtype user facing insufficient privilege error Could you please suggest where ...
0
votes
1answer
34 views

How do I assign “View all data” permissions to profile for the Organization Object?

How do I assign "View all data" permissions to profile for the Organization Object Declaratively? The object doesn't appear on the profile objects permissions areas. I'm trying to obtain the 18 ...
0
votes
1answer
65 views

Can records (such as accounts, contacts, and opportunities) be shared with Partner Community users?

A client wants to explicitly share private data with Partner Community users. For example, their Salesforce administrator needs to share Account A with Partner User A, but Partner User B should not ...
0
votes
0answers
67 views

matching opportunity missing on lead conversion

I've this problem when converting lead: basically I've 6 opportunity matches but it only shows three of them. It is showing opportunity where the user is not the ower and not showing opportunity ...
4
votes
1answer
227 views

Can't pull down the “manage external users” permission metadata for profiles

I want to be able to store the "manage external users" permission for profiles in a repository, but I haven't be able to identify what metadata tag is associated to it. Every time I deploy to an org ...
0
votes
1answer
523 views

Do not render component if object access is missing

org.auraframework.throwable.quickfix.InvalidDefinitionException: Invalid definition for null:SBQQ__Subscription__c[]: Access to entity 'SBQQ__Subscription__c' denied I am running into an issue where ...
0
votes
1answer
26 views

Connected App: Limit System Functionality

Is there a way to limit system functionality in the Connected App itself. For example, only allow users to updated a specific field when connected to the app (even though the user authorized would ...
2
votes
0answers
35 views

Managed Package - permissions for dynamically generated Visualforce pages

We're working on a yet-unreleased managed package using Salesforce DX. It seems to be standard in DX to manage most permissions in a more portable way via permission sets rather than profiles so we've ...
0
votes
1answer
24 views

Restrict users access specific object

I have account which use as 'template' - apex clone this account when needed. I wish to prevent all the SF users modify this object’s fields. I'm wondering what would be the best way (would prefer ...
0
votes
1answer
236 views

Do Community Users gain Community access via OWD / Sharing rules and/or by using Sharing Sets?

I'm having a hard time finding documentation that makes this clear, nor can I find an answer that directly answers this question for me. According to this Salesforce article, Community access is ...
1
vote
1answer
305 views

How to grant delete permissions on custom object for Customer Community user?

I have created a Customer Community. In there is a section where they can update their "skills", which behind the scenes is a Contact_Skill__c custom object holding that data. I'm running into an ...
4
votes
0answers
940 views

Automated Process User Permissions

We are having some difficulty with permissions. Our admin has also posted on the success board. https://success.salesforce.com/answers?id=9063A000000eB7V, she also found this same posting: https://...
3
votes
1answer
133 views

Third party lead generation service scope access for creating new leads

Background: We're a lead generation service. We sell the leads (as a subscription) to multiple customers. Many of our customers use Salesforce. I'm trying to create an app that will create/push new ...
-2
votes
2answers
51 views

Apex class without field permissions [closed]

(Interview Question)I have a apex cls or vf page in this apex class or vf page i am updating 10 fields, here i have 2 users A & B for A user i have given only 5 fields permissions to visible, what ...
0
votes
1answer
31 views

How can Apex running as a “Force.com”-profiled user query all User records?

We have a public login-based portal hosted from our Salesforce org that updates our Salesforce org data as people fill out information about themselves in Visualforce web forms hosted inside the ...
7
votes
1answer
66 views

Is Describe Information Accurate for the Site Guest User?

As the title states, can describe information be trusted for the site guest user? Scenario I want to be able to insert/update tasks against accounts via a public Apex webservice. Yes, I'm aware of ...
0
votes
1answer
118 views

Abort a batch job in batch class got 'User must have modify all data permission' error

Abort a batch job in batch class got 'User must have modify all data permission' error, who can help, What user permissions or profiles are required to abort a batch job? Someone who can help?
0
votes
1answer
2k views

What really does the 'View Setup and Configuration' permission do?

I have a managed package and when this permission isnt checked, I get a 'resource does not exist' I am asking because this needs to be a permission for customers to be able to use my package. I am ...
2
votes
0answers
86 views

Files Upload is not Working for Community Profiles [duplicate]

I have created one file upload component page and using that page in the community portal but when I'm uploading a file a file its not working. If I'm doing the same with a console app, then it is ...
0
votes
1answer
50 views

History showing as the user changed the field, but the user doesn't have access to the field

A Picklist field is changing for a specific user, where the user has no access to update the field on VF Page and by other means like data loader. In the field history tracking it is showing as the ...
7
votes
3answers
4k views

How can I Efficiently Check if the Running User has a Custom Permission?

Is there any way to check in Apex if the running user has a specific Custom Permission? The best I know of using available methods involves two separate SOQL queries: public static Boolean ...
1
vote
1answer
48 views

User is able to edit record even though not listed in sharing

I thought I had all the right permissions in place, but apparently not: one particular user has edited a certain record, which should not have been possible. When I look at the sharing of this record ...
3
votes
0answers
185 views

How to return all users that have access to a specific record

Is it in any way possible to return a list of users that have access to a specific record together with their permissions? What I want to do is the equivalent of the SOQL query SELECT RecordId, ...
0
votes
0answers
298 views

Sharing a record with Read/ Edit ability (Insufficient access rights on cross-reference id.)

I have two objects RequestCredentials and ProjectInformation objects. ProjectInformation is the master and RequestCredentials is the detail. I faced an error when creating a record of type ...
5
votes
1answer
315 views

Dynamic access control to Lightning components

I know how to controll access to Lightning pages and components using static metadata (permissions, visibility modifiers and so on). What I am instead looking for is: An elegant, fast, standard-...
1
vote
0answers
273 views

Activate or Deactivate a Session-Based Permission Set via Flow

I wanted to create a flow that is launched with a process builder whenever a new record is created. The user launching the flow only can create records for that object, but the flow updates a date ...
4
votes
1answer
3k views

Cannot Change Object Permissions?

I need to change some custom objects permissions for the Standard User profile. But those checkboxes seem read-only. How can I update these permissions?
0
votes
1answer
302 views

person account security settings

For all the Business Account I need to have Read Only access and for the person account I should have read Only, Create and Edit permission. Where I can make the changes or settings?
0
votes
3answers
126 views

Is it possible to update one profile's permissions to read all standard objects without doing it one by one?

I'm working with a very big org, and I would like to update one profile's object settings so they can read all objects in the org, and read all fields in the org without doing it manually. Is this ...
0
votes
1answer
47 views

Community User not being able to edit and save case

User with a community license is able to see cases, and edit them, but Salesforce only shows two options when saving: "Save and New" or "Save and Close", but what if my user wants to just edit the ...
1
vote
1answer
297 views

User Record Access

For an custom object (say customer__c) In my two of the sandboxes, If I query for UserRecordAccess [SELECT HasAllAccess, HasDeleteAccess, HasEditAccess, HasReadAccess, HasTransferAccess, ...
0
votes
1answer
71 views

Insufficient access error on record for a profile

I have Read permission on a object for a profile. Also, OWD settings is Public Read/Write. Still the record is getting insufficient access for the relevant User. Why am I getting this error? Why is ...
0
votes
1answer
318 views

Enabling “Subscribe to Reports” on System Admin Profile

I'm getting the following error when trying to save any changes on the Sys Admin profile: The "Subscribe to Reports" permission is set to FALSE, while the "Subscribe to Reports: Add Recipients" and "...
0
votes
1answer
688 views

How to do I enable asyncquery for developer salesforce org

I get the following error when I try to run an async soql query in workbench {"message":"This feature is not currently enabled for this user type or org: [AsyncQuery]","errorCode":"...