Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [access]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

How to assign field access to multiple permission sets at a time

I have a requirement where i need to provide read and edit access to object fields in 18 different permission sets. This looks like lot of manual work and will consume lot of time. Is there anyway ...
user avatar
-2 votes
1 answer
160 views

It is Possible to Generate Access Token without using Username and Password? [closed]

There is any way to generate Access Token Without Using Username and Password not even login on web form also ? Just Using Client Id ,Client Secret or other rather than including password Using REST ...
user avatar
1 vote
0 answers
78 views

Can not access the AccountId field in the flow on Opportunity object

I built a flow on Opportunity in which I was accessing the AccountId standard field. but suddenly now I am not able to access that field from the flow. I checked with the access issues also, I have ...
user avatar
0 votes
0 answers
20 views

How do I restrict access to a specific type of record without turning off "Grant Access Using Hierarchies"

We wish to prevent access up through the Role Hierarchy, when a very specific scenario happens on a custom object. But we are using the Grant Access Using Hierarchies on this object and turning it off ...
user avatar
0 votes
0 answers
125 views

Apex class access for community user

I am exposing a Apex class through rest API to outside world. Since this is going to basic API no need for authentication and security so implementing through Sites. I am just starting with basic code ...
user avatar
  • 59
0 votes
1 answer
380 views

Give view access to DashBoards in Salesforce

how to add view access to Dashbord in Salesforce for a profile? Why user cant see this dashboard? It is in public folder and on a profile there are enabled 'give view access to reports in public ...
user avatar
0 votes
1 answer
126 views

Unable to change 'Default External Access' in Sharing Settings

According to the Optimizer report, we should immediately change the default external access for more than 100 objects. However, if I go to Sharing Settings and click Edit (which is the way to go ...
user avatar
2 votes
0 answers
56 views

Why doesn't the System user have access to the CollaborationGroup records?

I've created a test class and a simple flow below that illustrates the issue with the System user. Two test methods are doing a simple SOQL query on the CollaborationGroup records (one with a Standard ...
user avatar
  • 41
1 vote
1 answer
59 views

Authenticate users from Desktop app to salesforce [closed]

I have a use case where users have login to salesfroce as well as Desktop app, I have a Windows desktop application where user logs in and i would like to show one of my custom component inside the ...
user avatar
1 vote
1 answer
22 views

Hide Certain Objects from Certain Profiles

I have a new profile I created for one particular user that needs access to just a couple of fields on the account and contact tables. I was able to restrict the user from seeing other fields on the ...
user avatar
0 votes
2 answers
39 views

Salesforce - Admin - Object restriction

This question is about Salesforce Object access restriction. Assume that I have one profile that is assigned to 10 different users. I want to restrict an object access for one user alone without ...
user avatar
0 votes
1 answer
43 views

Granting Account Login Access using Apex

Is there a way to Grant Account Login Acces using Apex? Not through the UI as shown in the screenshot from below. Maybe something using the Tooling API? Or Metadata API? Thank you in advance!
user avatar
0 votes
1 answer
47 views

How to remove access to all files or attachments from a user

Just like I can remove access to a particular object, how can I remove the user's access to Files or Attachments? Right now they can still access it if they use the global search function. I think ...
user avatar
0 votes
0 answers
68 views

How to get fields without access in LWC?

I have a set of field names that I am getting from a FieldSet. And some fields are inaccessible (I closed access for them). But I have to get these fields and output them to the form. How can i do ...
user avatar
0 votes
0 answers
306 views

How to Enable Edit access on locked records other than providing "modify all" access

I have a requirement where some specific users need the edit permission on locked contracts (contracts currently under approval) for their market only. Those users are not Sys Admins, they cannot be ...
user avatar
0 votes
1 answer
165 views

Can I grant view all access to some user for certain record types

Say for cases, I just want to grant view all access to a group of users to some certain record types but not other record types. How should I achieve this? I have tried to grant view all access to ...
user avatar
  • 12.7k
0 votes
1 answer
197 views

Restricting access to create Reports in Salesforce

We have three different sister companies within our salesforce org. Account and Contacts are readable for all users irrespective of Business units. However, I need to provide create and export report ...
user avatar
0 votes
1 answer
25 views

ActivityHistory Object is not accessible for the Profile Users

I am trying to put a lightning component to show all the past activities associated with the Contact. It is my understanding that if the user has access to the Contact then he should be able to see ...
user avatar
  • 599
0 votes
1 answer
79 views

How to change the default value of OpportunityAcess in Account Team Member?

When I want to add a member, "Opportunity Access" is automatically filled like "Private". How can I change it and filled automatically like "Read Only"?
user avatar
  • 123
2 votes
0 answers
81 views

Best Practice: How to restrict access to Communities in Sandbox environments?

We have this scenario: We have multiple sandbox environments that are used to develop and customize communities. Some communities include a public section. Some of these sandbox communities are ...
user avatar
  • 942
0 votes
1 answer
57 views

Need to give edit access for all custom object record to same profile but different role

I have one custom object with private OWD and CRUD/View All on profile. There are more than 10 different roles but not in same role hierarchy and I just need to provide edit to all the records for ...
user avatar
0 votes
0 answers
21 views

connecting roles to records

In this tutorial, the instructor configures roles hierarchies, but in don't have the same options of what to do with them: tutorial: Who Sees What: Record Access Via Roles (Lightning Experience) Her ...
user avatar
2 votes
2 answers
340 views

OpportunityShare not writeable

From udemy's "Salesforce Apex Trigger and Trigger Design Pattern", I'm trying The tutorial #3, called "6. Trigger Example 4". public class OpportunityTriggerHandler { public ...
user avatar
0 votes
2 answers
30 views

Store Notes and Attachment as a Attachment

I have Added Notes & Attachment in Related List , So when I upload any svg image , It get stored as a file instead of Attachment . So How can we store that image in Attachment instead of ...
user avatar
1 vote
1 answer
37 views

Is data at risk if Salesforce restricts access as a result of overdue invoice?

Does anyone know if data is at risk if Salesforce restricts access as a result of an overdue invoice? We have a number of projects in our Sandbox, as well as vital data in our Org. If restricted, can ...
user avatar
  • 31
1 vote
2 answers
734 views

Insufficient Privileges Error when clicking on EmailMessage record

Where Can I set the permissions for this object? I can see the record as an admin, because of Modify All permission. As a sales user, I can see only the records which were created by me. How to extend ...
user avatar
1 vote
2 answers
2k views

Permission Set->Flow Access available flows is empty

I have Screen flow Unlock Record And want to set access for it to permission set But in flow access window there are no flows. Could you please help me figure out why so?
user avatar
1 vote
1 answer
104 views

Force.com Site: Read access denied for Custom_Object__c, but works fine in sandbox

I have a basic visualforce page that uses the standard controller for an object (Custom_Object__c). The object is a detail record, with the master being another custom object (Parent_Object__c). The ...
user avatar
  • 632
1 vote
1 answer
1k views

Account team, Opportunity access versus Opportunity team member

I am trying to add a user to the account team and I provide Edit access on account and Edit access on Opportunity on the account team. What would be the difference in doing this versus adding the user ...
user avatar
  • 105
1 vote
1 answer
233 views

How to write to static resource (text file) in Managed package

How to write to a static resource (text file) in a Managed package In my developer org, I can read and write a static resource file by a visualforce page. I make a managed package of them, then ...
user avatar
0 votes
0 answers
918 views

Not able to access record in lightning but able to in classic

I'm able to access records of a custom object in salesforce classic and was also in lightning. But recently i'm seeing Looks like there's a problem. Unfortunately, there was a problem. Please try ...
user avatar
0 votes
1 answer
214 views

Insufficient Privilege issue on Lightning Page

In lightning, the user getting an Insufficient Privilege error on the lightning page for a lightning component. Does anyone know how to fix this?
user avatar
0 votes
2 answers
327 views

Critical update not activated but is past the Auto activation date and no Activate button is available

In my dev org, these two critical updates haven't been activated by admins within the Auto activation date. So as per salesforce, shouldn't this be activated automatically? As the screenshot reads ...
user avatar
2 votes
1 answer
782 views

What types of attacks does Salesforce Multi Factor Authentication (MFA) prevent?

This is a question that was raised from the Identity and Access exam, but it is still unclear to me why Multi Factor Authentication (MFA) would not cover all of these attacks and if I were to present ...
user avatar
  • 1,818
0 votes
1 answer
639 views

Object Access on Aura Component

On a custom Aura component, I have defined an sobject attribute as <aura:attribute name="localVatInst" type="CustomObject__c" default="{'sobjectType':'CustomObject__c'}" /> If user does not ...
user avatar
1 vote
2 answers
9k views

"You do not have access to the Apex class named ...": cannot find the cause

I have developed a Lightning Web Component in a sandbox, consisting of HTML, JS, some actions and a few Apex classes. I have tested this as sysadmin and as another non-sysadmin user. No problems. ...
user avatar
1 vote
0 answers
230 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY after Guest User Security Update

This month salesforce is rolling out a new security updated that prevents public sharing of record data, except via Sharing Rules that only provide Read-Only access. In preparing for this shift, I ...
user avatar
0 votes
1 answer
88 views

How to limit activity access for a specific object and profile

I know it is possible to limit access to Activities for a Profile at the System Level: Is it possible to only limit that access for a specific object? For instance, is there a way to only restrict a ...
user avatar
0 votes
0 answers
17 views

Allowing Profile's Access to their Respected Links

I am currently working on a piece of code that will allow a certain group of profiles launch out from Salesforce to another web application. Any other profiles will be staying on Salesforce. I have ...
user avatar
  • 11
0 votes
1 answer
122 views

Error getting access token Lightning Experience Configuration Converter: Visualforce Pages

What is this error and how can I avoid it?
user avatar
1 vote
0 answers
860 views

Insufficient Access to the record

I am creating a task and custom record using a flow and for temperory use creating another custom object record, after the transaction is done the flow will delete the 2nd custom record, here I am ...
user avatar
  • 975
0 votes
1 answer
52 views

Why this error occurs?

I got this error when write in field: "Description" But this profile have permission to Edit How can I see this "access right"?
user avatar
0 votes
0 answers
103 views

Access Granted Through Sharing Rules is Inconsistent - Keep Having to Recalculate

We're having a problem where we are continuously having to manually recalculate sharing rules in an org. Account OWD is set to Private. Sharing Rule 1: Account lookup field is populated by a certain ...
user avatar
  • 174
0 votes
2 answers
417 views

Unable to login into Workbench for any of my Sandboxes

Getting an error when trying to connect to a Sandbox with Workbench.
user avatar
0 votes
1 answer
683 views

Access Token stopped working - Connection App problem - INVALID_SESSION_ID

I'm facing a problem with one of my Sandboxes. Today I noticed that Access Token received from Connected App doesn't work (Session expired or invalid - INVALID_SESSION_ID). It's weird because ...
user avatar
  • 1
0 votes
1 answer
154 views

View only dashboard without access to report

i want give access to user to dashboard without Access to report , i want hide the link in blue for example. Thankyouuu
user avatar
0 votes
0 answers
33 views

What are the ways in which access to a field by query can be changed?

On a visualforce page with a controller, users could previously search on a custom contact field via SOSL. A few weeks ago, something changed and users get no results back in the search as if they ...
user avatar
  • 1,818
0 votes
0 answers
47 views

How can I see my community if I'm unauthorized user?

I already made public access. I've also read documentation "Give Guests or Unauthenticated Users Access to a Community". But I think I still do something wrong. How can I make access free for ...
user avatar
0 votes
1 answer
70 views

How to provide access in bulk

I have created a custom object with over 50 custom fields but only system administrators have access to all the fields now is there any way I can provide the access to other profiles at once I can ...
user avatar
  • 2,225
0 votes
1 answer
4k views

UNABLE_TO_LOCK_ROW error during inserting a new Record [duplicate]

I am trying to insert new records in Salesforce using data loader, but getting the below error - Error received from salesforce.com. Fields []. Status code [UNABLE_TO_LOCK_ROW]. Message [unable to ...
user avatar