Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
65 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
737 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
95 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
171 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
59 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
29 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
142 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
523 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
31 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). ...
0
votes
1answer
93 views

How do I assign the Analytics cloud builder permission set license to a user?

I've been trying to use Einstein Analytics. I've enabled analytics but I'm still not getting the analytics studio app in the app menu. I am not able to assign the Analytics cloud builder license to ...
2
votes
2answers
644 views

Salesforce DX deploy fails due to unknown user permission

When using salesforce dx to deploy an app we get the unknown user permission unknown user permission :workcalibrationuser unknown user permission :sandexternalemailAvailable unknown user ...
-1
votes
2answers
52 views

Can some one tell how setup object effect non setup object exact into one transaction?

In this case example please explain .... what exactly happening if i am not calling future method. trigger Automatecontact on Account(after insert) { List<contact> lc = new List<contact>(...
2
votes
0answers
192 views

Delete __Sharing object

I'm receiving the following error: TR09_MasterServiceAgreement: execution of AfterInsert caused by: System.DmlException: Delete failed. First exception on row 0 with id 02c1800002Lir2PAAR; ...
3
votes
0answers
189 views

INSUFFICIENT_ACCESS_OR_READONLY - Cannot Delete QuoteLineItem

17 QuoteLineItem records were loaded into the org via Dataloader with the incorrect product2id listed. When trying to delete the records in the GUI while logged in as a System Administrator, the ...
0
votes
1answer
32 views

Prevent approving own emails in SFMC

I have created a two-step approvals team which has two users, John (Submitter) and Jim(Approver). Jim is able to create and submit emails for approval to this team and approve himself. How can this be ...
0
votes
1answer
105 views

I need to restrict access to users from seeing/using Lightning custom Tab

I need to restrict access to users from seeing/using Lightning custom Tab. Not all users should get access to it. I want to control this with a permission set and I Need to remove tab access from all ...
1
vote
1answer
258 views

Login as another user without View setup and configuration permission

Can an user be given login as another user privileges without giving 'View Setup and Configuration' permission and 'Modify All Permission'? As the need is to do testing in sales force logging in ...
1
vote
1answer
23 views

Profile-Object Pair Chatter Permissions

Can we deactivate chatter for a specific object OX and profile PY pair? Or make read-only if that's a thing. The issue is that profile PY must use chatter normally on other objects and object OX ...
0
votes
2answers
43 views

Non-admin users in Developer Edition Org

I have set up a user with profile with limited access rights in a Developer Org. I need the user to be able to execute Apex classes, but not to have access to the source code. Is this possible? When ...
2
votes
1answer
515 views

soql on object permissions on a profile

I was trying to find out CRUD level permissions for a particular object on a specific profile for which I've framed below query: SELECT Id,SObjectType,PermissionsRead,PermissionsCreate FROM ...
1
vote
1answer
128 views

Restricting Access to All Subscribers

For compliance reasons, we need to restrict our user's access to All Subscribers but still allow them the ability to look up activity and engagement information for specific contacts. We use the multi ...
-1
votes
2answers
43 views

How to give custom object delete permission to all users in org?

The user can belong to any profile or role. In future, any new user created with a new profile or with a new role, he/she will get delete permission automatically. Please suggest a solution without ...
2
votes
1answer
523 views

Is there a difference between the 'Use Any Api Client' and 'API Enabled' permission for Profiles?

I noticed the 'Use Any Api Client' permission only available if 'API Client Whitelisting' is enabled. How can we query this permission on profiles? Once 'API Client Whitelisting' is enabled, does the ...
1
vote
1answer
255 views

Profile Error deploying via Ant - Manage Customer Users requires Edit Contact

I have the below setting in one of the profile: <userPermissions> <enabled>false</enabled> <name>ManageCssUsers</name> </userPermissions> <...
0
votes
1answer
25 views

Query Access for Group, Group Member, RecordType, UserRole

What permissions / controls, if any, are there to control whether a user can query group, group member, recordtype, or user role? If they are not a member of a group (role, group), can they query all ...
0
votes
2answers
183 views

GiveRecognitionBadge user permission

I am getting Unknown user permission: GiveRecognitionBadge while deploying the admin profile by ANT.I can the comment the permission in the profile XML and deploy but it would be great to know what ...
2
votes
1answer
311 views

Test Class failing in production [closed]

I have a test class failing while validating it and its base class deployment to production. The test setup is creating several records in 2 objects (1 standard 1 custom) and inserting them as a ...
0
votes
0answers
381 views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id

I'm triggering an email with OnAfterInsert. Inside the method, I have access to all the necessary data to send the actual e-mail: emailtemplateId whoId whatId internalEmailAddrs externalEmailAddrs ...
0
votes
0answers
273 views

Notes and Attachments permissions

I thought the standard "notes and attachments" section inherited the permissions from the object its under. For instance, I have "Create" permission attributed to the Account object and I have able to ...
6
votes
3answers
1k views

For the Platform Event “Automated Process” user, why do both Visualforce controller access and email sending fail?

We are executing some asynchronous code that uses getContentAsPdf on a Visualforce page as the result of handling custom platform event and we get this error in the Apex Jobs listing: First error: [...
2
votes
2answers
2k views

Possible reasons why a quick action button is not shown for a non-admin user?

I've added a "New Action" in Account / Buttons, Links, and Actions. I've added the action/button to the Page Layout and it does show for me. It runs a Lightning Component that creates a customized ...
3
votes
1answer
619 views

Visible vs Read Only?

Opportunity Fields > "Field Label/name" > Set Field-Level Security > What is Visible vs Read OnLy? A Google Search Revealed: Visible : If you check the "Visible" checkbox, that field will be ...
0
votes
0answers
35 views

User Can Open Case of Record Type and Open Report of Case Record Type - No cases in Report

I have a profile that is assigned to see cases of a particular record type and they can view those cases. We have a report that displays cases with the filter criteria being cases of that record ...
2
votes
1answer
61 views

RecordType.Name Visibility

I am going slightly crazy over here. I want to pull the RecordType.Name off of the Opportunity and write some logic depending on what the name is. public void onlineCalculatorShortenedLink(Map<Id,...
1
vote
1answer
49 views

Admin user does not have access to records on lightning

I'm having trouble accessing some activities objects from the account object page. I can access some activities but not others. The permissions error became a problem for our organisation yesterday. ...
2
votes
2answers
160 views

How to make custom object record only visible to certain users based on field checkbox

So I have a custom object in my org called Promotion Events. I would like to add a field called 'Private' that is a check box, and if it is checked and the event is created, this event(Promotion Event ...
0
votes
2answers
114 views

Assign a Role as a Queue Member by Apex or DataLaoder

In the hypothetical situation, I have 100 queues, if I needed to update half of my Queues to have a member of Role 1 and Subordinates and the other 50 queues to have a member of Role 2 and ...
0
votes
2answers
1k views

The source report is based on a report type that is inaccessible to the dashboard's running user

I have configured partner community. There is opportunity pipeline report configure for Community user. But when I open up the report in partner community by logging with community user. Report says "...
1
vote
1answer
62 views

Marketing Cloud permissions - can't export shared DEs

We've created a role that works for our business, there is one permission that we are struggling to work out. We have Data Extension permissions allowed for exporting, and shared folders are set to ...
0
votes
2answers
195 views

SOQL query to update object permission

I want to build the the query to update the object permissions to grant the read edit access of specific profile for the custom object. any idea how to do it
0
votes
0answers
1k views

Log a Call Button on Lightning

I cannot get the log a call tab to appear on the lightning page. I am just using the standard activity component. It seems to apply to all objects, but for now we can just focus on opportunities. I'...
2
votes
1answer
72 views

Preventing Users from Performing SOQL Queries

Is there a setting at the profile level to prevent users from performing SOQL queries against our Production Salesforce instance? I have disabled both "API Enabled" and "Apex REST Services", but the ...
1
vote
1answer
29 views

Can permission sets shorten the access provided by profiles?

Can permission sets shorten the access provided by profiles? I am learning the topic on the Trailhead. And what I know from there that no, permission sets can not shorten the access provided by ...
0
votes
1answer
101 views

Do not see Manage Assignments in Permission Sets

I can not find Manage Assignments in Permission Sets. There is just no such button. Why would I expect the Manage Assignments be there? Because it is told on Trailhead that it is there: ... ...
3
votes
1answer
118 views

Deleting ActivityHistory and FieldHistoryArchive

I Am trying to delete both ActivityHistory and FieldHistory archive but have run into the below errors: DML operation Delete not allowed on List<ActivityHistory> DML requires SObject or ...
-1
votes
2answers
145 views

How to load 10,000 users to salesforce

We have heavy custom development salesforce app, we have a customer with 10,000 licenses, just to make sure no hiccups to the system with these many users we are planning to do performance testing. ...
0
votes
2answers
59 views

My code is seeing a field as NULL, but the record does have a value

In my AfterUpdate trigger, I check: System.debug('fieldA is ' + processingFees.get(o.ID).fieldA + ' for ' + processingFees.get(o.ID).id); if(processingFees.get(o.ID).fieldA >0){ ...
0
votes
2answers
633 views

Acces to campaigns in Standard Platform User Profile

We have a user with "Salesforce Platform" license. How can we give campaigns access to "Standard Platform User" Profile user.
0
votes
0answers
58 views

Scheduling Report Error : Salesforce.com could not email the report to any of the specified recipients

I have a create separate profile for a user who has the following set of permissions: Schedule Reports Manage Reports in Public Folders Subscribe to Reports Schedule Reports The user is able to ...
0
votes
1answer
15 views

Can I add permission to new profiles after re-installing a managed package

I have a managed package which I have installed in Salesforce. Now I have some new profiles created. From what I understand, if I un-install the managed package and re-install it from all profiles, ...