Questions tagged [access]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
28 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 ...
0
votes
0answers
36 views

JWT - Invalid signature when entering Public Key and Private Key

I'm trying to use JWT in Salesforce. I generate the certificate using the following commands: openssl genrsa -des3 -passout pass:SomePassword -out server.pass.key 2048 openssl rsa -passin pass:...
1
vote
1answer
33 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 ...
1
vote
1answer
16 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 ...
0
votes
2answers
36 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 ...
0
votes
1answer
32 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!
0
votes
1answer
45 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
9 views

Why can't one user see Service Resources, but others can? (Same Profile and Perm Sets)

I'm in an org where a user is claiming that they no longer see any Service Resource records (in an 'All Service Resources' list view), and they used to previously. I've compared this user's Profile ...
0
votes
0answers
56 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
80 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 ...
0
votes
1answer
17 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 ...
0
votes
1answer
51 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"?
2
votes
0answers
27 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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
23 views

How to restrict user access to the org using login hours WITH MINUTES?

We can restrict user access to the org using login hours. But what if we need to restrict user access to the org for a time from 21.15 to 10.30?
0
votes
0answers
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 ...
2
votes
2answers
152 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 ...
0
votes
2answers
23 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 ...
1
vote
1answer
28 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 ...
1
vote
2answers
386 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 ...
1
vote
2answers
1k 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?
1
vote
1answer
76 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 ...
1
vote
1answer
516 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 ...
1
vote
1answer
156 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 ...
0
votes
0answers
407 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 ...
0
votes
1answer
117 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?
0
votes
2answers
269 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 ...
2
votes
1answer
536 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 ...
0
votes
1answer
389 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 ...
1
vote
2answers
7k 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. ...
1
vote
0answers
183 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
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 ...
0
votes
1answer
108 views
1
vote
0answers
538 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 ...
0
votes
1answer
48 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"?
0
votes
0answers
67 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 ...
0
votes
2answers
360 views

Unable to login into Workbench for any of my Sandboxes

Getting an error when trying to connect to a Sandbox with Workbench.
0
votes
1answer
620 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 ...
0
votes
1answer
81 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
0
votes
0answers
26 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 ...
0
votes
0answers
34 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
3k 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 ...
1
vote
1answer
252 views

Not able to access ContentDocumentLink on Site VF page's Controller(without sharing)

SOQL: [SELECT ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = {{reocrdID}}] OR SELECT Id, (SELECT ContentDocumentId FROM ContentDocumentLinks) FROM {{sObjectAPIName}} Where id = {{...
2
votes
1answer
387 views

Custom Object Access via Public Groups

We have around 100 users who belong to 3 different profiles. We know it is possible to do it via permissions sets. But is it possible to provide permission via public groups or roles...what is best ...
1
vote
2answers
2k views

How to hide a field from a specific profile?

I have a Pipeline object, in which I have a Members text box that I need to hide from Sales users. I have made the configuration as shown: However, when I login as a Sales user, I still see the ...
0
votes
1answer
1k views

Restrict users' access to only see records they own

I have a custom object which contains data for a particular profile pertaining to their assignments. Profile members have read access to the object, but I would like them to only be able to see their ...