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

2
votes
1answer
26 views

Creating records via an API - which user to use

I have recently been introducing some online forms and interfaces with Salesforce. They are all working well which I am very happy to report!!! My question is, at the moment I am using my own user, ...
0
votes
1answer
22 views

relationship between readable, visible and read only'

In a profile I can see: <fieldPermissions> <editable>true</editable> <field>Time_Log__c.Date__c</field> <readable>true</readable> </...
2
votes
0answers
22 views

Setting permissions from profiles files and permissionsets files

We refreshed our pro sandbox and now we need to reassign the permissions to objects from a backup zip file copy of our sandbox which we got using force.com eclipse (yes, we got the Profiles and ...
0
votes
1answer
21 views

How pro-grammatically can verify the permissions on an object and its fields?

How pro-grammatically can I verify the permissions on an object and its fields? I also need to find -programmatically- objects with no permission set through profiles or permission sets?
0
votes
2answers
26 views

Received an “Insufficient Privileges” error message when trying to access Account object

When trying to view an Asset (which is Account standard object) I am getting an error report which says: Insufficient Privileges. You do not have the level of access necessary to perform the ...
0
votes
1answer
24 views

how to remove edit, create delete access of Products

I tried removing edit create delete access of Products for a profile it is giving me following error Error: Invalid Data. Review all error messages below to correct your data. • Permission ...
0
votes
2answers
25 views

Force.com sites standard object permission

I have developed a force.com sites and at the backend I want to check delete permission on standard objects and it shows that I cannot update or delete contact records . Is it possible to give edit ...
5
votes
1answer
95 views

Insufficient Privileges - Visualforce Page - Occurs as System Admin

I have a client using a managed package that includes a visualforce page to override tasks and events. All users (including my System admin account) gets the: Insufficient Privileges - You do not ...
5
votes
1answer
37 views

Enabling Editing/Deleting others' Tasks without “Modify All”

Use Case My users are primarily Service users. They all have Read/Write access (through sharing rules) on all Cases, Contacts and Accounts that they deal with. They collaborate on data grooming - ...
1
vote
1answer
63 views

Getting all Users and their Custom Permissions

tl;dr Want to make a SOQL to return all Users and there (custom) permissions Hi there I've just started using SF, so bare with me if this is very basic. One of the usages of salesforce we're ...
0
votes
1answer
20 views

Variable does not exist error on custom field name

I have an object XYZ having custom fields AssigneeId and PermissionSetID. Now I have a list insAssignmentList of the object XYZ. I try to add values to the list by below line inside a for loop and ...
0
votes
1answer
13 views

can we provide access to user access from any IP ranges through permission set

Hi friends I stuck in a place called. I have a profile with 10 members are assigned.And we set up some Login IP ranges for this profile. My requirement is i have to give access for one user in the ...
8
votes
1answer
127 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
36 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
16 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
31 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
49 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
46 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
32 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
168 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
40 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
30 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
14 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
19 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
31 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
96 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
30 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
21 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
34 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
49 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
33 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
29 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
83 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
39 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
80 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
50 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
89 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
42 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
48 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
58 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
158 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
126 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 ...