Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

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.

0
votes
0answers
16 views

Cant Find Manage External User Permissions?

I want to use Manage external User For community for which i need to add that button on layout.button not visible on any of the layout. External Sharing Model Enabled. Customer community created. ...
0
votes
1answer
43 views

Downloadlink not working for Guest user site

I have created a link on a visualforcepage for Guest user.The link shows correctly with the correct id. When I try to download the link a new page is opened with the error: urlsite/ex/...
42
votes
3answers
6k views

Salesforce bug enabled “Modify All”

Apparently, Salesforce has released a patch that implicated "Modify all" to be enabled for every single profile in some orgs. This includes standard profiles and custom as well. Yes, even standard ...
0
votes
1answer
33 views

Update failed. INSUFFICIENT_ACCESS_OR_READONLY, You do not have the level of access necessary to perform the operation you requested

Background I have created a custom upload component based on this but using ContentVersion rather than Attachment. This custom upload component is being used on a public community page and has an ...
0
votes
0answers
40 views

How to apply different field visibility [closed]

I want to apply different field visibility to different users having same profiles without using permission sets and without creating new profile.
0
votes
1answer
27 views

Restrict API permissions for package

I'm creating a package that allows Salesforce API access via a connected app. It works great in my demo org, but our customer does not want it to have access to any data other than contacts and a new ...
0
votes
1answer
29 views

“Allow Delete Only If” Permission

Disclaimer: Permission settings newbie here. In my org, there are 3 departments. I've set up a role hierarchy with three branches where each head of department (HOD) is at the top. Underneath is ...
0
votes
0answers
19 views

Users cant see tasks they created and assigned to others

we wre facing an issue where ALL users need to create tasks WITHOUT relating them to account / contacts. when they do so they get 'insufficient privileges' error. ​​​​​​Is there anything that could ...
0
votes
0answers
19 views

Query All files permission for Lightning component controller

I've a lightning component which allows Contacts to upload files from community. The component has a without sharing apex controller which tries to delete files before storing again. The controller ...
1
vote
1answer
55 views

Turn off access to Setup area in Salesforce

According to our client's requirements, ordinary users of developed applications should not be able to access Setup area in Salesforce. Out first naive approach was simply to revoke 'View Setup and ...
0
votes
3answers
44 views

How can I remove Read permissions on a Standard Object in a Unit Test?

I need to test a behavior for when users have no access to the Document object; not even Read access. I've started w/ a mock user given the standard "Read Only" profile, and I'd like to use the ...
0
votes
2answers
42 views

@AuraEnable Server side controller not executing properly (not showing debug log)

I have this component that is available from a Community, where an object gets populated and passed to Apex controller in a JSON String. From the server side, it should show via debug what I ask, but ...
1
vote
1answer
23 views

Set Password Policy to 'Never Expire' using metadata

I need to deploy profile with Password policy setting as 'Never Expire'. I am not able to get it deploy, don't find the tag use to deploy password settings.
3
votes
0answers
43 views

Get available record types for any user (not just current one) in apex code

We need to fetch in apex code list of available record types for a user provided by its id. We've already figured out how to do the same for current user (e.g. using DescribeSObjectResult....
0
votes
2answers
36 views

How can I Efficiently Check if the Running User has a Standard Permission?

There is a method FeatureManagement.checkPermission to check efficiently if a user has a custom permission. How can we check efficiently if a user has a standard permission instead? For example, ...
5
votes
1answer
62 views

Any way to get Child Relationships without being bound by user permissions?

Question User object-level permissions limit the results of DescribeSObjectResult.getChildRelationships(). Are there any workarounds? I have submitted an Idea about this (https://success.salesforce....
1
vote
1answer
33 views

How to manage versions of scheduled flows?

We have an autolaunched flow that we would like to run on a schedule. I have created an apex class to do so, but when testing the class, I discovered that it is encountering errors only associated ...
0
votes
0answers
14 views

View my cases and all new cases (other owner)

as an agent I need to see the tickets I managed (the owner is me) and also the new tickets (other owner). I tried to filter in the lists of views but it doesn't allow me to do what I want. Any ...
0
votes
1answer
23 views

What is the difference between Visible & Edit Access

While we create a new field in an Object, we come across a screen where we would select whether we need Read Only access or Visible access to that field. In Profile level, we need to give whether a ...
0
votes
1answer
32 views

How to get a Community User able to edit its own contact record inside the community?

I need provide Users under Community User Profile be able to edit their own Contact record, also Users with Partner Community Profile be able to edit their own contact and other Community Users ...
1
vote
0answers
23 views

How to Make Sure Apex Class is Called after Campaign Member Automatically Added/Removed

Been running into this issue for a while and would love some assistance. More than anything, I think this is a question about how to work around permissions. I hope this is the right place to ask this ...
0
votes
0answers
20 views

Permission missing for creating Notes in Lightning Experience

I have a custom link to redirect the user to create a new note. In Salesforce classic, the custom link works and the user is able to create a note. When I switch to Lightning Experience and click the ...
0
votes
0answers
14 views

Lead Status and custom field not viewable and editable in VF page for other profile

I have a VF Page for Update of Mass Lead. There are 2 profiles, "Profile X" and "Profile Y". In the "Profile X", I can view and edit the standard field Lead Status and custom field Lead Status Reason. ...
0
votes
0answers
20 views

Grant edit access on Tasks to users regardless of role hierarchy

Is it possible to grant users with edit access to tasks regardless of role hierarchy and without giving 'Modifiy All Data' permission ? As per my understanding, if task is craeted and related to a ...
2
votes
1answer
27 views

Which permissions are required to enable History Tracking?

Working through some training exercises and trying to track history on some fields in the Account object. I'm getting an Insufficient Privileges error. Which permission do I need to be able to do ...
0
votes
0answers
18 views

Insufficient access rights error when Customer Community users edit contacts

We're running into an issue where Customer Community users cannot edit contact records, even though this page says they can: https://help.salesforce.com/articleView?id=users_license_types_communities....
0
votes
2answers
20 views

Where are “Standard Object Permissions” in Profiles?

I can't find them. I'm an administrator.
0
votes
1answer
23 views

Can we restrict edit access of community /partner users?

I want to restrict edit access of community/partner portal users from internal user. I have disabled "Manage users" permission and its dependant permissions from internal user's profile, but still I ...
0
votes
1answer
47 views

Files related list on force.com site

I have a related list of files "AttachedContentDocuments" on a VF page (using the tag), which is accessed through a force.com site. This page works as expected for the logged in user. But when ...
0
votes
0answers
26 views

Unable to update fields on community user record

I am trying to update a field on User record for community user but I am getting insufficient privilege error. I am able to update the same field on all the users except this one profile I don't have ...
0
votes
0answers
37 views

Using Custom Permissions to restrict picklist values to specific users

My goal: Using Validation Rules and Custom Permissions to restrict accessibility of specific values seen in the Account Type picklist to be available only to specific users. I have the custom ...
0
votes
0answers
48 views

Lightning continuation callout pattern does not respect user permissions

I am working on a lightning application that uses the lightning apex continuation callout pattern found at this link: https://developer.salesforce.com/blogs/2017/09/invoking-apex-continuations-...
0
votes
1answer
22 views

insufficient access rights on cross-reference id in Flow when Writing to Lookup Field

I have a lookup field to the account on a custom object. I have a flow that I'm using to populate fields to that object that is used by our community users. When I try to write to the account lookup, ...
0
votes
1answer
40 views

No edit permissions error for an admin user (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY)

I must start by saying that I am not a Salesforce developer, admin or even a user (for a long time anyway). The company SF admin resigned and I am trying to cover some of his responsibilities and ...
1
vote
2answers
43 views

Update fieldPermissions with metadata api of Salesforce

I try to update the permissions on a field created from the API so that it is visible and usable. so I do this via the salesforce metadata API. responses = client.call(:update_metadata, message_tag: ...
1
vote
1answer
69 views

Invalid type for implements System.Schedulable Class [closed]

I have the following class which I try to schedule from the anonymous window but this gives the error: invalid type:abc_RiskSchedulerProcessor Class global class abc_RiskSchedulerProcessor ...
0
votes
2answers
47 views

Opportunity product field permissions

I'm looking to give specific user access to edit single custom field on 'Opportunity Product'. This user should not have the ability to edit any 'Opportunity' field. I created ‘Opportunity Product’ ...
0
votes
1answer
29 views

How to get access to the 'Setup -> Create -> BigObjects' page?

How to get access to the 'Setup -> Create -> BigObjects' page? It was working fine recently and now I'm receiving Insufficient Privileges
0
votes
0answers
30 views

Volunteers for Salesforce Attempt to de-reference a null object site functionality

I have been having this issue for a few days now and have no idea where else to look. I have implemented Volunteers for Salesforce for a client and so far it has worked...okay. The volunteer portal ...
0
votes
1answer
44 views

How to create a 100% Read-Only profile in Salesforce (including 'Salesforce objects' as shown in DataLoader)?

Please hear me out completely. I am trying to create a profile where user can read data (= export) from Data Loader, but NOT insert/edit/delete ANYTHING back through it. So I created a profile with ...
1
vote
1answer
28 views

Customer Community licence is not allowing to give view all access on account

Organization-wide default is Public read/write. I want a community user to access all account from community. I tried to give view all access through permission set but getting an error - . The ...
1
vote
1answer
25 views

Find out how an user has View Encrypted Data permission?

I have an user who is not able to view the SSN field whereas he had access to view the SSN field before. It appears that the "View Encrypted Data" permission has been revoked for him. The profile of ...
1
vote
2answers
55 views

How to allow edit access to for certain record types only

I need all user to be able to see all opportunities. However, Department A should only be able to edit opportunities assigned to 3 record types (x,y,z) and Department B should only be able to edit ...
0
votes
1answer
41 views

Editing Closed Won Opportunity Line Items?

I am trying to modify Opportunity Line Items of a Closed Won Opportunity. When I am using an user with System Administrator profile, it allows me to edit as well as delete opportunity line items ...
3
votes
1answer
140 views

Apex class invalid for community user but not standard

UPDATE: this might be a Spring 19 only issue. Will try to confirm this. If I create an opportunity with a standard Salesforce license, no problem. But if I try the same operation as a community ...
0
votes
0answers
25 views

How to remove user object record edit permission for Community users

I have some community users with license customer community. The issue I am facing is that they are able to view other users and edit and modify their details. Is there any way I can stop them from ...
0
votes
0answers
26 views

Permission issue about site and internal user

I have site and guest user is activated in there. In this case, for allowing records creation from guest user, I granted permission to site guest user profile. However, now I saw some weird situation....
0
votes
2answers
52 views

Sharing Rule is not granting access to a public group

I am working with an object called Scope Library. I want users to have read access by default. I want the group Presales to have read, edit and create access on the object. To give users read only ...
1
vote
0answers
193 views

ContentVersion custom field permissions

I have added a custom field to my ContentVersion standard object. Community users are uploading files, but I do not want them to be able to view or edit the new custom field. I cannot find where do ...
0
votes
1answer
25 views

Record type behavior not working on edit record layout

I have one question regarding Salesforce Record Type. I have two different user profile. Admin Manager I have created record type for both users in which I control the status field (Picklist Value). ...