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
3
votes
1answer
729 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 ...
0
votes
0answers
39 views

User Can Open Case of Record Type and Open Report of Case Record Type - No cases in Report

I have a profile that is assigned to see cases of a particular record type and they can view those cases. We have a report that displays cases with the filter criteria being cases of that record ...
1
vote
1answer
52 views

Admin user does not have access to records on lightning

I'm having trouble accessing some activities objects from the account object page. I can access some activities but not others. The permissions error became a problem for our organisation yesterday. ...
2
votes
1answer
65 views

RecordType.Name Visibility

I am going slightly crazy over here. I want to pull the RecordType.Name off of the Opportunity and write some logic depending on what the name is. public void onlineCalculatorShortenedLink(Map<Id,...
2
votes
2answers
198 views

How to make custom object record only visible to certain users based on field checkbox

So I have a custom object in my org called Promotion Events. I would like to add a field called 'Private' that is a check box, and if it is checked and the event is created, this event(Promotion Event ...
0
votes
2answers
133 views

Assign a Role as a Queue Member by Apex or DataLaoder

In the hypothetical situation, I have 100 queues, if I needed to update half of my Queues to have a member of Role 1 and Subordinates and the other 50 queues to have a member of Role 2 and ...
0
votes
2answers
241 views

SOQL query to update object permission

I want to build the the query to update the object permissions to grant the read edit access of specific profile for the custom object. any idea how to do it
0
votes
0answers
1k views

Log a Call Button on Lightning

I cannot get the log a call tab to appear on the lightning page. I am just using the standard activity component. It seems to apply to all objects, but for now we can just focus on opportunities. I'...
2
votes
1answer
75 views

Preventing Users from Performing SOQL Queries

Is there a setting at the profile level to prevent users from performing SOQL queries against our Production Salesforce instance? I have disabled both "API Enabled" and "Apex REST Services", but the ...
1
vote
1answer
29 views

Can permission sets shorten the access provided by profiles?

Can permission sets shorten the access provided by profiles? I am learning the topic on the Trailhead. And what I know from there that no, permission sets can not shorten the access provided by ...
0
votes
1answer
146 views

Do not see Manage Assignments in Permission Sets

I can not find Manage Assignments in Permission Sets. There is just no such button. Why would I expect the Manage Assignments be there? Because it is told on Trailhead that it is there: ... ...
10
votes
3answers
5k views

Metadata API Custom Field Permissions (how to automate this process)

We are using the Metadata API to add Custom Fields to the Account object in Salesforce. We are able to create the custom fields, but then the Salesforce user has to manually login to their account ...
-1
votes
2answers
150 views

How to load 10,000 users to salesforce

We have heavy custom development salesforce app, we have a customer with 10,000 licenses, just to make sure no hiccups to the system with these many users we are planning to do performance testing. ...
0
votes
2answers
62 views

My code is seeing a field as NULL, but the record does have a value

In my AfterUpdate trigger, I check: System.debug('fieldA is ' + processingFees.get(o.ID).fieldA + ' for ' + processingFees.get(o.ID).id); if(processingFees.get(o.ID).fieldA >0){ ...
0
votes
2answers
715 views

Acces to campaigns in Standard Platform User Profile

We have a user with "Salesforce Platform" license. How can we give campaigns access to "Standard Platform User" Profile user.
0
votes
0answers
68 views

Scheduling Report Error : Salesforce.com could not email the report to any of the specified recipients

I have a create separate profile for a user who has the following set of permissions: Schedule Reports Manage Reports in Public Folders Subscribe to Reports Schedule Reports The user is able to ...
0
votes
1answer
17 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
66 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
228 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
86 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
339 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
274 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
129 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
326 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
840 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
462 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
640 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
282 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
77 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
383 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
24 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
705 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
69 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
75 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
244 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
34 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
295 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
369 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 ...
3
votes
1answer
169 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?