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.

learn more… | top users | synonyms

5
votes
1answer
91 views

Summer '16 release breaking Visual Workflows?

Some of my visual workflows have been hitting permissions-related errors, and I suspect it's something to do with the Summer '16 release that hit my org over the weekend. I'm getting errors like this ...
0
votes
2answers
34 views

Visualforce: Issues with $Permission when rerendering

Has anyone else experienced issues with permission based elements on visualforce when rerendering a section? For example I have a section that for administrators will provide a link but for common ...
0
votes
1answer
14 views

How can I view the option “General User Permission”?

I can see an option as "General User Permission", in which I need to change some settings in order to enable some feature. But I couldn't able to see any Screens/options anywhere in my Settings under ...
1
vote
1answer
28 views

How to get the Available Record Types by Profile for a STANDARD Object

I found this post (especially Adam Torman's comment) really helpful in getting to the most elusive element of a profile--which record types are assigned to it for creation: Available Record Type by ...
2
votes
2answers
41 views

Record type profile assignments

I created a new record type in a sandbox. Then I moved the record type over to production, and no one can create a record with that record type. In setup>opportunities>record types, both are active, ...
0
votes
0answers
40 views

Send Email from Apex Class in Sandbox is not working

I wrote a simple class that send email to user .. but i am facing a issue in sending email in my sandbox and the error is : System.LimitException: Too many Email Invocations: 1 Yes it is 1 not ...
1
vote
1answer
24 views

Query on FieldPermissions object is super slow

We have created VF page that shows the access to fields for all profiles and permission. This page runs supper slow. When we analyse the the code with developer console we realized that this issue is ...
10
votes
2answers
127 views

Does Process Builder run with System permissions or User permissions?

Regarding field-level security, does Lightning Process Builder run as system-level permissions or user? That is: Can I trigger an update to a field that the current user cannot edit? Can I filter ...
3
votes
2answers
38 views

How to give a user create permission for an object in a test

I have an apex method that needs to check if a user has create permission on an object in order to successfully complete the method. It works for me. But Im having an issue writing the test. I do not ...
1
vote
0answers
28 views

Limited Admin or Delegated Admin profile in Salesforce

So this is the conundrum I am in, we are wanting to store HR sensitive information within salesforce such as salary info and SSN the issue is that we have part of our development team has admin access ...
0
votes
1answer
13 views

How to restrict Marketing Users to view only Marketing Lead and Accounts and Opp converted from those leads?

I have Profile called as Marketing Profile. On Lead object, I have made a custom field as Record type. For Marketing users the lead created will be of record type Marketing. I want Marketing Users to ...
0
votes
0answers
18 views

Restrict record creation through field values & public groups

I've created an app which can be used to create new requests to be sent through an approval process for employees by their managers. The functionality works great but I am now trying to think of the ...
3
votes
0answers
29 views

Why Field Accessibility Check is broken in a Managed Package?

my code has a centralised class which is responsible for all DML operations. This class before inserting / updating / deleting a record is checking: 1, if the object is accessible for the current ...
2
votes
2answers
95 views

Is there a way to stop an user from seeing an object except when obtained by apex?

I have a community user profile that will have access to a series of visualforce pages, ids will be passed as parameters. Is there a way for the apex pages to be able to get the data for the user ...
0
votes
2answers
28 views

Users having read access for an Opportunity is not be able to attach a file in that Opportunity

Users having read access for an Opportunity are not be able to attach a file in that Opportunity. Kindly help me to accomplish this.
0
votes
1answer
20 views

Allowing users to insert (or create) an opportunity

I'm facing this error : OpportunityTrigger: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: ...
1
vote
1answer
29 views

Query Object Access by Profile

I have looked at the documentation and it seems the best I can do is query ObjectPermissions for PermissionSet access. Is it possible to do the same for Profile instead of PermissionSet? THANKS FOR ...
1
vote
1answer
38 views

RemoteAction not respecting sharing settings

I have a RemoteAction in my code that queries data. I receive all the records irrespective of the fact that with sharing has been used for the containing class. Does RemoteAction NOT respect sharing ...
1
vote
1answer
36 views

Error Message- Standard tabsets are not permitted for this profile

I was able to resolve the below issue by googling it but couldn't able to understand whats wrong and how suggested method resolved the issue. Can someone please help me to get a better understanding ...
0
votes
0answers
10 views

“View Dashboards in Public Folders” profile permission is not available on Partner Developer edition

I noticed that the profile permission "View Dashboards in Public Folders" is not available on "Partner Developer edition" Salesforce org. However, this permission is available on "Developer Edition" ...
1
vote
1answer
26 views

Disallow Single Sign On for Specified Profile?

From Salesforce documentation: Do not enable Single Sign-On for the system administrator’s profile. If your system administrators were Single Sign-On users and your Single Sign-On server had ...
0
votes
0answers
17 views

How to show or hide a page based on profile in Communities

I am trying to learn about the Community Builder, and I see in the page editor we have page variations, and I can make a variant which will appear to users in a certain profile. What I would like to ...
4
votes
0answers
31 views

Enable Apex Classes - Sometimes Only Global, Sometimes Includes Public

I have a managed package that I distribute to clients and I'm running into a curious situation trying to help one install. I have noticed that in the Enable Apex Classes for their System Administrator ...
0
votes
0answers
32 views

Update failed: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id

I have three test classes in my org which are not executing. For those three classes I'm facing same error. After analyzed three classes I'm having same problem with account. When i comment the ...
1
vote
2answers
23 views

API Usage Last 7 Days report - Minimum Permission Needed to Run?

I am trying to create a reporting user. One of the reports the user will run is the API Usage Last 7 Days report. I want to minimize the access to as much as possible but it seems the user's profile ...
3
votes
1answer
64 views

Getting User - List View mapping using apex

Is there any table or any other way(metadata/rest api) we can query the list views of a particular object that a user/group has access. Example: SELECT Name FROM table_x WHERE UserOrGroupId = '1234....
1
vote
0answers
9 views

Profile 'API only' permission not available on Developer edition

I have a developer edition and when I search for 'API only' permission on profile, it is not available. For which Salesforce org edition 'API only' permission is available? or Do I have to contact ...
2
votes
1answer
35 views

Profile / Permissions best practices? [closed]

Hello and thank you in advance. I'm curious if anyone has any resources they could point me to for best practices around permissions sets / profiles / etc. The reason for this is because as an ...
3
votes
1answer
75 views

Attempt to de-reference a null object on when calling Schema.getGlobalDescribe().get(sObjName).getDescribe();

I receive an error on a web page : Attempt to de-reference a null object Schema.DescribeSObjectResult sObjResult = GLOBAL_DESCRIBE.get(sObjName).getDescribe(); First i thought that my user doesn't ...
2
votes
1answer
19 views

What do Profiles do uniquely?

After becoming frustrated with the half-dozen Profiles that all do the same thing (except for subtle differences here and there), I have started on cleaning up my org's permissions scheme. My basic ...
0
votes
1answer
41 views

For a specific Role (or Profile or User) restrict access to certain Leads & Contacts based on field value

I am working on a Marketo-Salesforce sync. Marketo accesses Salesforce via a Salesforce User named 'Marketo User'. This User can have it's own Role, Profile, Permissions, etc. - it's sole purpose is ...
1
vote
0answers
33 views

Get the number of Opportunities for each User in the org (the count must include the records to which the User has atleast read access)

I need to get the count of Opportunity record for every User in the org where the User has atleast read access on the Opportunity record. I need to store the data obtained per User for every month in ...
0
votes
2answers
68 views

Unable to restrict delete permissions on Opportunity Line Items

I am trying to restrict users by profile from being able to delete opp line itmes. For example I have a communities partner profile and under the standard object permissions against the opportunity (...
2
votes
1answer
35 views

Insufficient Privileges to create a sandbox

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see ...
3
votes
1answer
45 views

Better way for Bulk Assignment of Field Level Security

In Salesforce we have a custom object which has 500 fields. We have around 50 different profiles in our org. Out of this 50 profiles, 30 profiles need access to these fields. Right now, to set field ...
2
votes
1answer
51 views

Permission Sets on Quotes Template

I would like to create a permission set to give an access to all quote templates. I do not want some users within the same profile to see or have access to the quotes template. How to user can only ...
4
votes
1answer
123 views

Articles not visible to Salesforce Community members

We have a private Salesforce Community built on Spring 16 Napili community template. Regular community members are not able to see articles. We followed the steps from this question for the custom ...
6
votes
2answers
108 views

Accessing Chatter API in Communities

I'm Having trouble accessing the Chatter API in the context of a community. Mainly, we have a certain type of user that only has access as a user of a SalesForce community we are using to act as an ...
0
votes
1answer
17 views

Way to hide one users records from search results, but still have the records viewable by all?

We are batch importing a lot of data into multiple objects and once in SF we are going to de-dupe it. I would like to have the data available to all to access but just leave it out of search results. ...
0
votes
2answers
22 views

Record access during Manual sharing

This might sound very basic but I was not able to find the right documentation for this. Suppose I have a record whose Owner is X. Once X fills out the record and saves it, the record type changes ...
4
votes
2answers
118 views

Can I modify object-level security via APEX?

I know we can share records programmatically via Apex. We can also check CRUD permissions on an object. But, can we use Apex to modify object-level CRUD permissions? I don't think so (as this would ...
0
votes
0answers
11 views

Can't deploy new CustomPermission with new reference to it

I thoroughly searched for this topic in multiple places and found nothing. Has anyone else experienced this? I want to create a new Custom Permission and reference it in a formula field on ...
2
votes
0answers
31 views

Give internal users access to the customer portal by default?

By default, the customer portal is accessed via portal user accounts. Salesforce internal users have a separate, non-portal contact for logging into Salesforce via a standard SF splash page. To ...
0
votes
1answer
42 views

Entity is not api accessible - Group Object

When installing my managed package into a test org I get the following error: System.NoAccessException: Entity is not api accessible This error is coming when accessing a map with the following ...
2
votes
2answers
51 views

How to query users who have access to a particular record?

I have been going through the forums and the documentation and I do not find a way to query the Users who have access to a particular record. For example, when I upload a document, a mail has to be ...
0
votes
0answers
9 views

Adding Permissions to a Managed Package Already in the Field

I have a Managed Package that recently failed a security review due lacking permission checks for Dynamic/Standard SOQL (see Dynamic SOQL permission checks & Managed Packages). For now, I'd ...
1
vote
1answer
82 views

CRUD permission check Security Review with SOQL queries needed?

The CRUD permission check for Security Review has been imposed recently, though I'm clear on the DML statement and Create/Update/Delete permissions I need to check for in my code, but I'm not clear ...
0
votes
1answer
30 views

User Permissions for Sharing Reports and Dashboards

I want to give specific profiles in my organization the ability to modify and use Dynamic Dashboards. According to this Salesforce Help Page, I need to give the following permissions to the profiles....
4
votes
0answers
17 views

CRUD/FLS Checks on CronTrigger

I've recently had an app fail the security review due to lack of CRUD/FLS checks on dynamic/static SOQL. These queries against CronTrigger were some of the things flagged: 24 Integer count = [...
0
votes
1answer
18 views

Opportunity Access with Community Roles

I want to set up the following scenario: Manager A User A1 Opportunity 1 Opportunity 2 User A2 Opportunity 3 Opportunity 4 Manager B User B1 Opportunity 5 Opportunity 6 ...