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

1
vote
2answers
44 views

System Administrator - Insufficient Privileges over everything

So I messed up the permissions, basically I created a permission set and check everything and clicked save. Right after I logged in I was blasted with 'Insufficient Privileges'. If I click setup it ...
0
votes
2answers
30 views

Managed package development on another org. How? [closed]

I have to work on a pretty large managed package which includes among others 2 apps. I can't work on the org on which the managed package and all the code resides. I have taken everything from there ...
2
votes
1answer
18 views

Cannot delete a record without ModifyAll feature in my Permission Set

I'm getting some issues making my permission set works. This is the use case. I have: A custom object with a single field and a button. Above button call a vf page that shows a button that execute ...
1
vote
1answer
26 views

Is there a way to limit access to Attachments based on the Subject field?

My organization would like to have the ability to restrict the viewing permissions of certain user in regards to some of the Attachments we add to specific objects. For example, we'd like all ...
1
vote
1answer
52 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []

I have been battling with this for few days now. Below is my scenario. I do have a trigger on Sampling__c object that updates the owner and assigns a manager for the request created. When updating ...
0
votes
0answers
50 views

Not executing part of class as user

I have been battling this for a while and I assume this might be a permission issue. I do have a trigger that updates sample requests for a product with manager that needs it to be assigned. The ...
0
votes
0answers
11 views

Admin having 'manage chatter messages permission', is not able to see the conversations between other users

The 'manage chatter messages permission' provides a user the ability to see the conversations between other users. I have created a cloned system administrator profile, assigned it to a user. This ...
0
votes
0answers
33 views

Permission Set Deletion (Insufficient access rights on Object ID)

I have system admin profile but when I tried to delete a permission set using dataloader, an error says "Insufficient access rights on Object ID". What permission do I need on my profile to perform ...
0
votes
1answer
23 views

What permission are necessary to access Data Import Wizard?

what permissions do I have to assign to user that he will be able use Data Import Wizard to import data to custom objects? I gave him "Modify All" for that object but still can't see the Data Import ...
3
votes
2answers
41 views

Visualforce Page Controller Parameter Unavailable to User

I have a simple redirect link that goes through a visual force page that works perfectly fine except for non-administrative users the redirect url does not include the parameter it needs to build the ...
0
votes
1answer
26 views

Add or remove permisssion for Find Connection button

How do I remove the Find Connection search layout button particular user? This button appears on the list view search layout and I would like to disable it on a per-user basis.
0
votes
0answers
35 views

Canvas app not showing in Canvas App Previewer or Chatter

I created a basic Hello Work Canvas app and assigned it to Chatter Feed and Chatter Tab. I can manage the app settings when I go to Setup>Build>Create>Apps>Connected Apps but when I navigate to the ...
2
votes
2answers
22 views

How do Internal User manages Custom Setting data without 'Customize Application' Permission?

We have created Vf page to manage custom setting data , its working well for system admin but when we logged in as internal user it throws this error :system.security.NoAccessException: Create access ...
1
vote
0answers
40 views

Cannot Access RecordType.DeveloperName Field as System Admin

I'm a System Admin in an org and today our Flow was throwing errors saying no such field RecordType.DeveloperName. I tried running a SOQL query using that field in Developer Console and I get same ...
3
votes
1answer
51 views

Callout to web service doesn't work depending the profile I'm using

I have a customized button that once you click it, a new window it's open displaying some data from an external app, getting the data through a SOAP web service. If I'm logged as System Administrator ...
1
vote
2answers
46 views

Handling Related List Security in Override VF pages

We have created an Override VF page for an object (for e.g. "Parent Object"). There is an object (for e.g. "Child Object"), which has lookup relation ship with "Parent Object". On Override page we ...
3
votes
1answer
26 views

How to check if a user is a Marketing User using APIs? (metadata/whatever)

My external service requires to write Campaign/Leads/Opportunities, so it requires the user to be a marketing user. Unfortunately, this can't be added to a permission set, so I need at least a way to ...
0
votes
2answers
30 views

Picklist field is disabled but profile and layout shows editible

I have a picklist field on a custom object that is disabled (grayed out) when I am editing a record on that custom object for a user in a profile that should have write access to that field. I have ...
1
vote
0answers
12 views

Accessing field SenderNetworkId on ChatterMessage object

As stated here and here, Salesforce added the SenderNetworkId field on the ChatterMessage object on its Spring 15 release (API 32.0). However, when querying this field, like this select Id, ...
3
votes
0answers
41 views

Access to Custom objects for Customer Portal Users

We have customer portal and We have exposed Custom objects that have lookup to Account object and private sharing to Customer portal users. This is done by adding the sharing set such that User's ...
0
votes
1answer
29 views

Fetch Specific object permissions for a User

I have a Custom object with many RecordTypes. A profile give just give access to one of the RT. and few permission sets which give access to different RT. Now in my class I want to fetch the ...
1
vote
1answer
40 views

FLS Security with ant deployments

Is it correct that ANT defaults FLS to visible? Everywhere else I look it seems to suggest that FLS is only set on profiles that you also have in the package, but that's not what I'm seeing. FLS for ...
0
votes
1answer
58 views

Exact Target connection error

I'm working in a Salesforce instance with the Exact Target integration installed, and for some reason the unsubscribe, resubscribe and 'Send ExactTarget Email' links on the Contact do not work. When ...
0
votes
3answers
43 views

using a trigger to edit a non-editable field for a user

Is it possible to write a trigger that will update a field value for a user even though the user doesn't have edit access to that field? In my example, I have a contact page layout with a custom ...
5
votes
2answers
415 views

How to prevent users from viewing apex code?

There are many apex classes and triggers in my production org. Despite 'System Administrator' being the only enabled profile, (in Develop>>Apex Classes>>"Class Name">>Security) users can still view ...
1
vote
1answer
50 views

Issue deleting object

I have a strange problem that I cannot figure out. I have a database model that looks like this: The A object is shared private in the org. User A creates record 1 and will become the ...
0
votes
1answer
41 views

Case Creator unable to see Case due to sharing rules

I am having an issue with case shares. When a case is created with the account field filed in, a trigger copies all of the account share groups to the case. However, when a User creates a case and ...
3
votes
1answer
152 views

Are a trigger's actions limited by the user permissions of the user whose actions trigger the trigger?

I have a trigger on Opportunities to automatically assign certain opportunities to certain owners in specific contexts. If the user who edits the opportunity doesn't have permission to change the ...
2
votes
1answer
21 views

If object is private but its lookup allows Read, what will happen?

What will be the access level for the lookup field in these 2 scenarios: MyObject is private, object-level permissions allow Read, and lookup to MyObject allows Read Same as 1 but object-level ...
0
votes
0answers
32 views

Unable to add VF page to Custom Object Layout on Production

I have a VF page with that uses a custom controller that I'm trying to add to a custom object layout. in my sandbox, I can see the VF page in the VF pages options for the edit layout page. On ...
0
votes
1answer
104 views

How to give access to External users in salesforce

Need to configure external Users in salesforce. External users should not have access to Chatter. they should not see the chatter feeds. They should have access to only one app with ...
1
vote
0answers
41 views

Customer community plus users can see contacts in list views, but not the actual records

My customer community plus users can view contact fields as expected in related lists and list views, but when they click on a contact to view the full record, they see a permission denied message. ...
1
vote
2answers
92 views

Is it possible to change Field Level Security with Workflows

How can I show a hidden field to a user after triggering a workflow which will evaluate on certain condition and will decide either this field need to be visible or not?
0
votes
0answers
18 views

Access information against the actual object

I wanted to know what is the best practice of getting access information of a custom sObject? For example I have customized Account's field CustomObjectID Lookup(Custom Object). I have such Sharing ...
1
vote
1answer
28 views

Access “Anyone with link” properties (and link) using REST API

I have an attachment with "Anyone with link" sharing configuration. How can I retrieve (or construct) the actual sharing URL using the rest API? E.g., I have an attachment with id: 069240000009bdU ...
1
vote
2answers
48 views

Access InsightExternalData & InsightExternalDataPart objects in SF

I need to use InsightExternalData and InsightExternalDataPart objects for uploading csv files in Analytics, but these objects are not available under external objects in the org. When I am trying to ...
1
vote
2answers
66 views

I need to check every owner of an object involved in a trigger permissions

I have an object called Albaran__c, (it's set on private sharing mode). I have a trigger that shares every record involved on the trigger with the owner of the Account we do reference on the field ...
0
votes
0answers
60 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY when setting custom field on a Task

I have a managed package with post-install script that executes a batch job to initialize a custom field on the Task object that is defined by package. It has worked fine for me in the developer ...
2
votes
0answers
32 views

How do I give permissions to hidden standard objects (MetricsDataFile)?

I'm trying to create a permissions set so I can assign users to be able to view the Usage Metrics app. I've given access to the app, tab, apex classes, and visualforce pages. However, Users still ...
3
votes
1answer
52 views

FLS behaviour different between API and GUI/Apex

Assume Contact.DoNotCall and Opportunity.ContractId are FLS invisible for the standard profile "System Administrator". Both fields are visible in the setup and are reported by describe calls in Apex ...
1
vote
0answers
60 views

Remove Manage external Account button permission

For one of the profile who do not have "Manage external Accounts" and do not have "Edit Self-Service Users" permission but still they can "Enable/Disable Partner Accounts". What am I missing? Thanks ...
0
votes
1answer
156 views

Provide access to visualforce page for all profiles

I am creating a visualforce page from apex, using the metadata api. To call the metadata api I am using https://github.com/financialforcedev/apex-mdapi MetadataService.MetadataPort service = ...
0
votes
1answer
21 views

Bulkify - FieldPermissions for a set of users

I am trying to bulkify the soql to retrieve fieldPermissions for a set of users. The following query returns the field permission for a single user: SELECT SobjectType, Field FROM FieldPermissions ...
2
votes
1answer
123 views

Visibility of records in a junction object - AND based or relationshipOrder based?

I have a question about junction object record visibility. I will start with a snippet from an SFDC document: ...
0
votes
0answers
11 views

SetupEntityAccess in professional edition

I know this is something I could find out by trying, but would like to hear it from someone who already know the answer. Documentation says Custom Permissions are only available in Enterprise, ...
0
votes
0answers
42 views

FIELD_INTEGRITY_EXCEPTION Read All on account

While assigning permission to objects i am getting FIELD_INTEGRITY_EXCEPTION,The user license doesn't allow the permission: Read All Account: [] What is this Read All and how to solve this error.
1
vote
1answer
45 views

Publisher Action that Posts to Chatter

I have a Publisher Action that posts to chatter on the Lead Object. This works fine when I am the System Admin however, I want this to work in a Community. Right now after the Community User clicks ...
0
votes
0answers
18 views

Permission to a list of Tabs through script

How can i assign a permission set to a list of tabs through script like we do for Objects.
1
vote
1answer
56 views

Understand permissions on products, price books, and ideas

I'm totally new in Salesforce but I'm here to go. In this documentation page I read: You can grant “Read” and “Create” permissions on all standard objects except products, price books, and ...
0
votes
1answer
48 views

View All Data uncheck broken?

If for a profile in the System Permissions I check "View All Data" I can see that the View All Permission has been enabled for all objects in Objects Settings. If I go back to System Permissions and ...