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
1answer
24 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
1answer
24 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
33 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
24 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
16 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
38 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
14 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
30 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
17 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
21 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
5 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
22 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
21 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
14 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
24 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
13 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
23 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
71 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
29 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
41 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
21 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
40 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
1answer
45 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
73 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
22 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
34 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
54 views

Check Convert Lead permission

How to check whether logged user having 'convert lead' permission on lead object or not?
1
vote
1answer
50 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 ...
2
votes
2answers
77 views

When do we need to use Apex Class permissions

My colleague and I were reviewing the Apex Class Security Overview. Per our understanding of the page, if a user does not have permission to access VisualForce page's controller, he should not be ...
2
votes
1answer
41 views

$Permission.CustomPermissionName doesn't work in VF page

Winter '15 brought new Global Variable $Permission. When I'm trying to use it on VF page as suggested in documentation $Permission.[customPermissionName], I get error: Error: Field ...
0
votes
0answers
32 views

Can I retrieve or deploy profile settings for managed package components other than objects and fields?

This is a great question and answer that shows how to retrieve profile settings for managed package components, but the answers only seem to apply to objects and fields. Deploying Profiles / ...
0
votes
0answers
103 views

Insufficient access rights on cross-reference id

Integration user is trying to update an Asset record and he is getting below error Insufficient access rights on cross-reference id Integration user profile has Modify All on Asset and ...
0
votes
1answer
34 views

Getting error while editing record inspite of having Modify All permission on an object

I have an api user who has modify all permission on Asset object under his profile but when he is trying to edit asset he is getting below error. You do not have the level of access necessary to ...
0
votes
0answers
20 views

Add Custom Links in Chatter Home page

I am trying to add custom links in my chatter home page. I create some custom links and create one Chatter layout and assign the links in the Chatter layout and change the Standard Chatter profile ...
2
votes
1answer
29 views

Access to a set of records to a user

I have to create a permission set for a user, where only when the Lead source is web, he/she should be able to view and edit that set of records. Is this achievable by using permission set?
0
votes
0answers
27 views

Salesforce Merge Accounts Permissions

I'm having trouble giving users the correct permissions to merge and/or delete records that they do not own. Here are the standard object permissions for the profile in question: ...
0
votes
1answer
32 views

User cannot modify field on which they have read/write permission.

I have a set of users who belong to a permission set that has read/edit access on certain custom fields on the Opportunity object. When those users attempt to modify any of these custom fields, they ...
2
votes
1answer
98 views

Safest way to see if a user is still “logged in” (REST API)

I'm using the Salesforce REST API along with OAuth 2.0 User-Agent Flow. I have the need to "ping" Salesforce to see if a user is logged on (this is the simplest way to do so in my application). If the ...
1
vote
2answers
119 views

How can I allow profiles to transfer accounts but not cases?

I have to requirement that a subset of the Sales Users be able to change the ownership of Accounts even if they are not the Owner, but not be able to transfer ownership of Cases, unless they are the ...
3
votes
1answer
38 views

Permission to see org ID?

Is there a permission that controls if a user can see the organization ID? I'm trying to support a 3rd party developer. All they sent me was this image and said that they need the org ID not to be ...
1
vote
1answer
97 views

Profile-Based Rollout of Chatter- Find all users with access

I have the "Profile-Based Rollout of Chatter" feature enable in my org. Per this page users with certain permissions will automatically have Chatter enabled. Naturally, I'd like to verify that the ...
0
votes
0answers
22 views

Accessing Profile's Administrative Permissions in Apex class

I wanted to access the administrative permissions in the apex controller for e.g. want to check that the "Create and Customize List Views" checkbox is enabled or not. It required in my project to ...
2
votes
0answers
74 views

Custom Permission - Error in Winter '15 Release Notes?

In WI15 release notes (Force.com customization section, pag.178), it's explained how Custom Permissions work, and particularly it's said that a custom permisssion could be set as required for another ...
1
vote
1answer
58 views

How to update all profiles with the same Custom Object Permissions?

The case: I created a custom object. After that I need to give permissions to all profiles. I have a lot of profiles. And editing each one is stupid. Is there a way to update all profiles at one time? ...
10
votes
1answer
99 views

When to add apex class permissions to a profile

The apex class permissions are a bit confusing to me. For example, classes used by page controllers do not need to be added to the profile. Can anyone give a complete list of scenarios on when you ...
2
votes
1answer
54 views

QuickActionDefinition user permission

I have a flow that needs to create a task through a Quick Action. When running the flow using the end-user profile, I receive an error that states the following: sObject type 'QuickActionDefinition' ...
3
votes
1answer
27 views

Chatter Answers trigger not available in Eclipse - no access to trigger I know is there

I need to correct a known issue with Chatter Answers and one of the triggers that needs modification (chatter_answers_question_escalation_to_case_trigger) is unavailabe in Eclipse, i.e. I can't access ...
0
votes
2answers
40 views

Prevent deletion of price book entries

Is there any way to take away delete privileges on price book entries for a custom profile? Preferably based on conditions of price book fields, but if just altogether would be fine as well? I've ...
1
vote
1answer
60 views

How to properly use “Manager Groups”

I've just had the "Manager Groups" option enabled by SFDC. I am now trying to build an "Appraisal" object so that the records in it are only viewable by the record owner and anyone directly in that ...
1
vote
1answer
51 views

Can we query Library member permission and information about which type of permission member held?

Can we query Library(ContentVersion) member permission and information about which type of permission member held ? Manage Library Add Content Add Content on Behalf of Others Archive Content ...