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

0
votes
1answer
18 views

Trying to change current user profile to custom profile

Trying to change current user profile to custom profile. I logged in as ABC user who is associated to a system admin profile, how to change ABC to a custom profile ? I guess current user cannot ...
0
votes
1answer
21 views

Create notes without edit or delete ability

Is there a way I can give my users the ability to create notes but not be able to edit or delete them? I don't want any user (even sysadmin) to be able to edit or delete any notes made.
0
votes
0answers
13 views

Using Salesforce read permissions in Heroku application

I am developing a node.js application on heroku that plugs into Salesforce using a canvas. This application uses the addons, postgres and heroku connect to keep all data synced between the application ...
1
vote
1answer
43 views

Cross reference works for ID but not for External Id

I am facing INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY while creating CaseComment object with external id CaseNumber for Case parent object. I am using the profile with "Partner Community" user ...
1
vote
2answers
35 views

How to check Administrative Permissions in Apex class

I wanted to access the administrative permissions in the apex controller for e.g. want to check that the "API Enabled" checkbox is enabled or not. Please let me know if there is a way to do this. ...
2
votes
1answer
17 views

Restrict access to sibling records (in community)

I have a sharing/permission issue I cannot work out simply. My structure is a top-level object called "Project", which has a Master-Detail (because we need roll-ups) to a child called "Assignment" ...
4
votes
2answers
41 views

How do you / can you assign a Record Type to a Permission Set in Apex code?

I have a post-install handler that is executed as part managed package installation. One of the tasks performed by the post-install handler is to create a Permission Set, and assign some object ...
3
votes
1answer
44 views

Does giving access to Apex class is required for a Permission set of Visual Force Page

I have created a VF page. Now, i want to give that VF Page access to my child user. I have included VF page in permission set and my question is, is it necessary to include Apex class too to make my ...
2
votes
2answers
15 views

Call webhook when permission set assigned?

We have a connected app that we will be selling to customers in the form of a managed package. Once the customers have purchased the managed package, it will be installed into their org. They will ...
1
vote
0answers
16 views

Is it ok to store salesforce leads after user gives OAuth access

In my web application, I am asking user to gives permission for reading salesforce data. The scopes requested are following - api id refresh_token With this scope, salesforce permission prompt ...
1
vote
0answers
27 views

Salesforce Async API not enabled even if enabled on Enterprise edition

I'm facing this issue on a customer enterprise edition. He's a system administrator and I checked his profile both in backend and through salesforce ui, and both are enabled (PermissionsApiEnabled ...
2
votes
1answer
20 views

Find duplicate lead for partner portal user

I have a requirement to add "Find Duplicates" standard button on Lead object records for partner portal user. I have the button on layout of other salesforce user but that button is not appearing on ...
1
vote
1answer
28 views

List of custom objects for each user in list

I have a list of users and I want to show which custom objects each user has access to. Instead I am getting a list of all custom objects for each user public Set<string> getCus_obj() { ...
0
votes
1answer
29 views

Is there any query (SOQL, APEX) that we could run that would determine objects linked to inactive users

I am new to salesforce development Is there any way so that i can have all those objects(in case possible record too) linked to a user is having. How it is possible via apex or soql
1
vote
1answer
17 views

Permissions needed to assign login access permissions

I have a profile that needs to allow an administrator access to their log in, but by going to My Settings -> Personal -> Grant login access they get an insufficient privileges error. What permissions ...
0
votes
1answer
35 views

Ability to create records of custom objects?

My profile is the Systems Administrator, but I am not able to create new records of a custom object that I made. I went to check permissions and it says that I have all the permissions to ...
1
vote
2answers
68 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
34 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
27 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
33 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
88 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
51 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
20 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
45 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
33 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
52 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
27 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
52 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
27 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
1answer
68 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
62 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
62 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
29 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
45 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
63 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
30 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
49 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
68 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
44 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
433 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
56 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
59 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
167 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
36 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
150 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
56 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
113 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
19 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 ...