Questions tagged [profile]

A profile contains user permissions and access settings that control what users can do within their organization.

Filter by
Sorted by
Tagged with
33
votes
2answers
17k views

How to access profile permissions via API

If I know the name of a certain profile, I would like to obtain CRUD permission settings for each object in the profile using Apex. I see that there is an sObject called Profile, but this only ...
26
votes
10answers
12k views

Can I compare Profiles?

We have many profiles in our org, and I suspect that some of them are redundant because the person who originally set them up didn't seem to understand the purpose of Profiles (confusion with Roles, ...
0
votes
1answer
14 views

Hide Objects while having permissions

We use batchable Apex and we use 2 custom objects to process a CSV with some records and then insert them or update them as Account records. So, i give permissions to the user's profile that runs this ...
0
votes
0answers
33 views

Disable View Roles and Role Hierarchy and View Setup and Configuration in profile System Permissions

I am trying to disable View Roles and Role Hierarchy and View Setup and Configuration System permission from a specific profile. When I click on Save button after removing checks from the check box ...
0
votes
0answers
27 views

Account Related List Not Showing Up

I am trying to add an account's related list to the Contact page layout. It will show up for me in Classic and Lightning, but ONLY me, as I am a sys admin. The other profiles have to go to classic ...
0
votes
0answers
27 views

SOQL - Profiles with 2FA Enabled for Login

Looking for a simple query to return profiles where the UI checkbox 'Two-Factor Authentication for User Interface Logins' is checked. Workbench is blocked at work, so wasn't sure how else I could ...
1
vote
1answer
43 views

What is the use of “View All Custom Settings”?

Due to Spring 2020, we now have this new setting 'View All Custom Settings' in the profile. As I understand it, if this is not checked, then users of that profile will not be able to access any Custom ...
0
votes
1answer
16 views

Can a role have access to records based on a field of the record itself?

Not sure if I made my point in the title, I'll try to explain it a little better. Let's say I have a role called Reseller. I have two resellers in my org: Reseller A and Reseller B. Now, I want ...
0
votes
1answer
37 views

Move permission set assignment in different tier using ANT

I have created custom permission and added it to newly created permission set and assigned users to that permission set. I was able to move Permission set and Custom Permission file from DEV to ...
0
votes
1answer
120 views

LDS data coming null for a specific profile for a lightning component, the profile has view/modify all permission

<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" > <aura:attribute name="record" type="Object"/> <aura:attribute name="...
1
vote
1answer
1k views

Setting default RecordType on the permission set

I am trying to use permission sets to dictate what record type people have. The idea is I only assign one record type per permission set. So when a user creates a record they don't get the record ...
0
votes
1answer
471 views

Provide permission to Event object to Site Guest User

I want to give Create Permission for Activity-Event to site guest user. Is this possible in Salesforce? I am not being able to add permission to the Guest User profile or Assign a permission set.
0
votes
1answer
439 views

Ant deployment remove object access for profile

I'm having issue to remove access for objects using ant/eclipse. Currently some profiles have access to Opportunity object (Read/Edit/Create) and I want to remove those access. However, after I ...
0
votes
1answer
199 views

Retrieve all profile metadata for comparison with vscode

Is it possible to retrieve all profile metadata (e.g. every custom object, field, page layout, record type, etc...) in vscode? I tried using the org browser and don't see a profiles folder. I ...
3
votes
1answer
82 views

What does Read/Write on Sharing Setting mean when Profile for Object is Read only?

I was troubleshooting a scenario where a User was trying to create a Related Record (say Object A) on Opportunity which had a Master Detail relationship and was facing insufficient rights access issue....
14
votes
5answers
1k views

Know if is a custom profile via API

Is it possible to know if a profile is custom via API? Like an attribute "profile.isCustom".
0
votes
1answer
1k views

Custom profile is not coming in drop down while creating user

I have created a Profile called 'Standard Employee'. Now when I am creating a user I need to select this profile but it is now coming in the drop down. What do I need to do to get it in my list? I ...
0
votes
1answer
420 views

How to I remove the “standard__Insights” application visibility from Admin.profile?

My team uses Eclipse for Salesforce development, and the ant-based Force migration tool for our builds. We've all had our orgs for a while, but a teammate recently created a new org. When we ...
1
vote
1answer
726 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 ...
0
votes
1answer
16 views

Profile is being used in community by salesforce?

I am able to see two profile related to site and user. Which profile is used by salesforce to provide Field level access of a object? First one is : (Open Contact having user -> View User -> ...
1
vote
1answer
39 views

Dynamic comparison of Profile id and userid fails in trigger

How do i correctly assign the userid and profileid to make a dynamic comparison. ? // if i hardcode the owner's profileid and userid the IF gets evaluated to true, however if i dynamically compare ...
2
votes
1answer
167 views

Does lightning-input-field automatically respect field level security (FLS) from profile/permission sets?

A strength of Visualforce's apex:inputField is that it automatically respects the view/edit permissions that come from the profile/permission sets for both the object and the fields. I'm assuming ...
0
votes
1answer
20 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 ...
2
votes
2answers
97 views

Cross-reference Permission label to permissionsXXX API Name

So, I'm running the SFDC Labs app Guest User Access Report that outlines what permissions a Community Guest User has The report enumerates permissions where the guest user has potential risk given ...
3
votes
0answers
33 views

Edit user Profiles

I have a problem with some orgs. Normally, I can edit user profiles, e.g. to activate a connected app. Now, I have an org, where these edit-Links aren't there (only delete and duplicate). I'm logged ...
2
votes
1answer
201 views

Not able to subscribe to Reports? Keeps giving error!

I am getting following error when trying to subscribe to reports - "We couldn't set up your subscription. Try subscribing again. If you still can't subscribe, ask your Salesforce admin for help." I ...
2
votes
1answer
94 views

Restrict access to Salesforce REST Resources

The Salesforce org I am working on needs to restrict access to the Salesforce's REST Resources from Lightning Platform REST API. (for example /services/data/vXX.0) From my research I understood that ...
3
votes
0answers
2k views

Ant profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

I am getting the below error when I am trying to deploy a new profile: You cannot deploy to a required field Object_Name__c.Field_Name__c. I saw the solution posted here: Force.com IDE profile ...
11
votes
6answers
13k views

Exclusive differences Profiles vs permission sets?

I understand, the differences between Profiles and Permission Sets. I just wanna ask are there some configs that make Profile or Permission Set unique. Are there things that could only be done via ...
1
vote
5answers
13k views

lightning component visibility based on profile

I am pretty new to lightning so I wanted to know if there is a way to hide a lightning component based on certain conditions. I have a requirement where there are 4 components which need to be visible ...
0
votes
0answers
16 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 ...
1
vote
1answer
51 views

Updating a FieldPermission record produces a INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST error

I am attempting to update FLS using FieldPermission records for profiles and permission sets. This is working fine for unmanaged fields, but for managed fields I am getting an error saying that the ...
2
votes
1answer
249 views

Metadata Equivalent of the System Permission “Connect Org to Customer 360 Data Manager”

I'm currently experiencing the error "You may not modify the permission Connect Org to Customer 360 Data Manager while editing a Standard Profile". I've checked in the destination org that this is ...
4
votes
4answers
754 views

Is there a way to mass-check Checkboxes when updating a Profile's Object's Field Level Security?

Is there a way to mass-check Checkboxes when updating a Profile's Object's Field Level Security? When setting Field Level Security for a Site's Profile (or any other Profile), I have some objects ...
1
vote
1answer
41 views

How user is able to Update Record

I have a custom object whose OWD is Public Read/Write and the profile of user has Read and View All permission for that Object. Now I have a Custom Button on that Object using Aura component I'm ...
1
vote
1answer
29 views

How to Stop FLS Defaulting to Read/Write Enabled via Metadata API without Specifying fieldPermissions in Profile

I'd like to define FLS in permission sets alone and not have to maintain FLS per field in profiles. I've been surprised to find that if I do not specify in my profile that the FLS defaults to Read/...
0
votes
2answers
41 views

prevent deletion of records even the user profile having Modify All permission

I want to prevent users from deleting the records even if they have modify all data permission. Please suggest.
2
votes
2answers
38 views

Remove installed package objects permission from Profile

Is there any easy way to remove Read, Create, Edit, Delete, View All, Modify All permissions of objects related to installed packages from Profile?. I have been doing this manually by going ...
0
votes
2answers
318 views

Page Layouts: Two users with same profile have different layouts?

I have two users that have different roles but the same profile. I cleaned up some page layouts for our lead and contact objects and am testing them with a particular set of users. No issues with ...
1
vote
1answer
35 views

Why do we even need profile when we have permission sets? [duplicate]

A profile also provides permissions that defines how a user can access records whereas a permission set is also the same. I know a profile is more like a global feature but even a permission set can ...
3
votes
0answers
31 views

Is there an alternative solution to prevent other profiles from seeing a certain profile's activites?

I have an original profile A A group of users wanted to go from profile A to a new profile called profile B that is an exact mirror of profile A. Profile B wants to create activities and task, but ...
0
votes
1answer
31 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
2answers
37 views

Where can I see “who can see a button”?

I need a help, my issue is... A user can't see the button "Novo caso", but other user can see, where can I see where is configurate this permission? This user can see the button This user can't see ...
0
votes
1answer
90 views

Unable to send email via Apex Trigger on Non-Admin profile

My data structure: Opportunity -> SH_Quote__c -> SH_Quote_Line__c Apex trigger at SH_Quote_Line__c level public without sharing class QuotationLineItemController { //After Update Trigger Handler ...
1
vote
1answer
151 views

Is it possible to delete files as a guest user in a community?

Background: I have a form in a community that creates a case, and then sets that case record id on a lightning-file-upload component which allows users to upload files and attach them to the case ...
0
votes
0answers
36 views

How to enable usage of lightning-record-edit-form's onSuccess for Guest User Profile?

How to enable usage of RecordEditForm's onSuccess for Guest User Profile? I am creating a case submission form that needs to be used by both authenticated and guest users. I am using a record edit ...
3
votes
1answer
246 views

Is it possible to upload files as a guest user in a community?

Is it possible to upload files as a guest user in a community? I am using a lightning web component lighting-file-upload component with a case's id as the recordId. The file upload works for ...
3
votes
1answer
52 views

Transaction Security is not available in Scratch Org

How am I able to turn on the visibility for transaction security? I am trying to test an apex class that implements TxnSecurity.PolicyCondition and according to this article to be able to see these ...
0
votes
1answer
930 views

For a specific Role (or Profile or User) restrict access to certain Leads & Contacts based on field value

I am working on a Marketo-Salesforce sync. Marketo accesses Salesforce via a Salesforce User named 'Marketo User'. This User can have it's own Role, Profile, Permissions, etc. - it's sole purpose is ...
1
vote
0answers
155 views

REST API - Picklist UI API Error

I have written apex code block to fetch picklist values for dependent picklist fields for a custom object using Picklist UI API for Community Portal users. The request URL looks like this: https:///...

1
2
3 4 5
16