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
2answers
11 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
14 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
40 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
30 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 ...
2
votes
1answer
22 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
18 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
22 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
23 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
38 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
44 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
40 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
402 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
44 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
31 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
138 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
19 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
29 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
67 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
27 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
66 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
17 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
26 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
39 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
51 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
49 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
25 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
47 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
44 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
80 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
18 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
78 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
8 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
36 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
39 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
16 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
43 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
31 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 ...
0
votes
0answers
52 views

Restricting Knowledge Article Access to Customers with Data Categories

Imagine the following Scenario... I have a customer user (Customer Portal Manager Standard License). I want to give this user access to certain articles in the Knowledge Base, based on the articles ...
0
votes
1answer
158 views

Permission on Custom Object Master Detail on Account

I am trying to give permission(Same what Account object has) on my custom object which is master detail with Account object. But getting Field integrity exception. System.DmlException: Insert ...
0
votes
2answers
35 views

Give users access to all user's data in dashboard

I am working on a dashboard that allows users to see the number of tasks that are assigned for the day. The dashboard works great but when I view it as a user I can only see the tasks that are ...
0
votes
0answers
75 views

Determine document folder access using Apex

I need to determine if a user has the ability to create new documents inside a given Document folder. I initially assumed that the HasEditAccess field on the UserRecordAccess record associated with ...
1
vote
1answer
28 views

How to request “Marketing user” permission in my Salesforce App?

I'm creating an app and the user installing the package must have "Marketing User" permissions (must be able to create/update/destroy campaigns). Are there any requirement I can set on my App? I was ...
1
vote
1answer
84 views

Permission set Assign issue for SalesforcePlatform license

I have create a user with the user license as "SalesforcePlatform", here i create some custom permission sets to assign for that user. The Permission set having the System permission access as "Insert ...
0
votes
2answers
91 views

Custom Button doesn't work in my Custom Object profile

I've attached a custom button to my custom object page layout, that redirects the user in a visualforce page, but when I log in, as a particular user, The system redirects me to an error page that ...
2
votes
2answers
143 views

Why doesn't File Location Lookup show attachments of Opportunity?

My opportunity has some attachments. I would like to send them via email. If I hit on "Attach File" button of "Send an Email" page, then File Location lookup filter window, dialog appears, however I ...
0
votes
0answers
32 views

Chatter File appearing in sysadmin UI even though marked as private in Personal Library

One of our apps uploads files that get stored in Chatter Files, (ContentVersion). Fields get set to Origin 'H' and PublishStatus 'R'. According to docs: Origin of 'H' - meaning "This is a Chatter ...
1
vote
0answers
52 views

Apex Trigger from Managed Package - throwing error in community

We have installed a Rio Inventory+ Managed Package into an Enterprise edition Salesforce instance. (Appexchange link: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000009xLvGEAU) ...
1
vote
1answer
89 views

Check Convert Lead permission

How to check whether logged user having 'convert lead' permission on lead object or not?
1
vote
1answer
59 views

Column not visible in apex, but is visible from REST

I am using the REST describe endpoint to present users with a list of all fields available to them on the Lead object, and then later attempting to use fields they have selected in a custom Apex ...