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.
732
questions
0
votes
1answer
16 views
Can I add permission to new profiles after re-installing a managed package
I have a managed package which I have installed in Salesforce. Now I have some new profiles created. From what I understand, if I un-install the managed package and re-install it from all profiles, ...
0
votes
1answer
65 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 ...
2
votes
1answer
220 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
69 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
312 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
258 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
307 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
2answers
828 views
Moving reports to 'My Personal Folder'
I am trying to move the report from one folder to 'My personal Folder'. Unfortunately its not allowing me to do so. I have edit/delete permission on the folder from which I am moving the report. And ...
1
vote
4answers
1k views
Why filter by Contact name not working?
I have simple query on contact
select id, name from Contact where name ='John E Doe'
Even if the Contact with name 'John E Doe' present in the system, the soql is returning 0 results.
Why this ...
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
428 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 ...
3
votes
0answers
607 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 ...
3
votes
2answers
2k views
Customizing visualforce permission error message
We are using an appexchange app that consists of a visualforce inline page. This visualforce page connects to a third-party API and displays some information on a record detail page. The licensing ...
0
votes
1answer
257 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
76 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
351 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
631 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
35 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
68 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
72 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
234 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
29 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
259 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
333 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 ...
0
votes
1answer
2k views
Can a community user edit their own contact record?
Can a community user edit their own contact record?
I've seen few question on the stack exchange it self about community user's editing their own contact record's details directly.
Somehow could't ...
4
votes
0answers
1k 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
149 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 ...
3
votes
2answers
1k views
Can I use Apex to check if the current SFDC organization is permitted to send email?
Some of the unit tests I have been writing fail because they are executed in an organization which is not permitted to send email.
Is there some way I can/should write either the Apex code and/or the ...
3
votes
2answers
6k views
How to resolve an “Unknown user permission: SendExternalEmailAvailable” deployment error
When attempting to deploy profiles, you may encounter the error "Unknown user permission: SendExternalEmailAvailable". What does this mean, and how can you resolve it?
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 ...
1
vote
1answer
254 views
What does the User permission 'Cache Diagnostics' mean?
On the User record, there is field - 'Cache Diagnostics'.
I have Googled around but haven't found any clear information on what this User permission means / does.
Can someone explain what is the ...
0
votes
1answer
124 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?
4
votes
1answer
207 views
Can I completely replace Profiles with Permission sets
I have a managed release package which is having one custom profile. Now in next release I want to create a new profile in V2.0 of released package. But what I found is while upgrading package, I can ...
0
votes
1answer
54 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 ...
5
votes
1answer
328 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
1answer
49 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
202 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
327 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 ...
3
votes
1answer
856 views
Swapping the license of the User on button click
I have a requirement where i need to Assign the UserA a particular license L2 when he is using a particular feature and then assign this license L2 to other userB when UserA is not working on this ...
1
vote
0answers
285 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
319 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?
1
vote
2answers
2k views
Cannot Edit the Object Permission for Standard User Profile or for any Profile while logged in as System Administrator in Developer Sandbox
I am using Salesforce Developer Sandbox and created a custom object called candidate test. After creation I noticed that the Standard Profile "Standard User" does not have access to it. When I tried ...
0
votes
1answer
48 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 ...