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
12 views

Delete Accounts restriction still works in unit tests

The permission to delete Accounts is unchecked in test User Profile according to this trailhead article. https://trailhead.salesforce.com/en/content/learn/projects/protect-your-data-in-salesforce/...
0
votes
0answers
27 views

How to get all ObjectPermissions associated with Permission Set

According to documentation ObjectPermissions represents only enabled object permissions for parent permission set. Permission set license determines which objects are associated with parent permission ...
0
votes
1answer
29 views

How to determine which objects / object permissions are applicapble / not applicable for a given profile?

Some Salesforce objects have own section within Object Permissions list in specific profiles, other not. As I know ObjectPermissions has ParentId field which points to PermissionSet associated with ...
0
votes
2answers
20 views

Help with this Validation Rule

I have these particular VR and I needed to open new question because has a specific problems. There are both (in Account object): Check that a field is not empty in an specific State: AND( ...
0
votes
0answers
32 views

User unable to delete account with message “There's a problem saving this record…”

I have a user who is not able to delete accounts. The delete menu button is available to them, and the "Delete Account" dialog appears for them, but when they click Delete it shows this ...
0
votes
1answer
17 views

Get all the apex classes which a profile has access in Enabled Apex Class Access

I have done lot of searches but not get any conclusive thing to full fill my requirement.My requirement is to fetch all the apex classes which a profile has access in Enable Apex Class Access and then ...
0
votes
0answers
11 views

Managed Package Uninstall failed

I am trying to uninstall a managed package and the package uninstall failed with the reason saying a custom field cannot be deleted. When I click on the "Where this is used" button on the ...
0
votes
1answer
18 views

Query users having “Manage Content Permissions” OR “Manage Salesforce CRM Content” permission

I am trying to find out the API name and respective object where these permission are stored? "Manage Content Permissions" OR "Manage Salesforce CRM Content" I was able to find the ...
1
vote
1answer
49 views

Error authenticating with JWT config due to: audience is invalid

I've created a connected app based on this Trailhead project. Note that this isn't about a trailhead project I'm using what I've learned from Trailhead in a real-world project to implement CI/CD for ...
0
votes
0answers
17 views

Why is my assignment rules not being adhered to in new profile?

I am using the Salesforce REST API to create Leads in my system, I have one active Lead assignment rule. The user I have authenticated with has minimal acccess to Salesforce, allowing REST and access ...
0
votes
0answers
17 views

Querying File (ContentDocument) From Visualforce Community

I have an old Visualforce Community and in it I am using Lightning Knowledge. On my page I have a Community Login licensed user who has read permissions to the Knowledge article (Knowledge__kav). ...
1
vote
1answer
54 views

How to Determine Whether a Field Can Be Updated in Trigger Context

My question is basically the same as question 289297, if I correctly understand its OP's intent. I am posting my own in the hope of giving the issue more visibility, and also because it is not an ...
1
vote
1answer
61 views

Re-enabling the ability to impersonate External Users via “Log in to Experience as User” button (Spring 21)

Some Platform Users in my org used to be able to impersonate Community (now "Experience") users from the Contact record by using the "Log in to Community as User" button. After ...
1
vote
1answer
145 views

How to enable Apex Class access to the `System` user

The recent enforced update Require User Access to Apex Classes Invoked by Flow enforces that all users, including the hidden System user must have Apex Classes assigned to their profile or permission ...
1
vote
1answer
20 views

How to give normal users permission to load data in Workbench without giving them view all data permission?

I want certain standard users to be able to load leads through workbench. The owner field is an external Id, thus I can't make them using Data Loader Upsert (only include custom reference fields) I ...
0
votes
0answers
19 views

Not able to select “Password Never Expire” System Permission while creating a permission set

I know that it was possible to achieve, but for some reasons, as soon as I click on save button after selecting the "Password never Expire" permission and click on Save button, nothing ...
0
votes
1answer
26 views

Knowledge not showing up in SOQL query even after (SeeAllData=true) (Lightning)

I have deliberately mentioned SeeAllData=true to test some business functionality just in my org. But in System mode the same query returns data, but in Community User context the same query does not ...
0
votes
1answer
24 views

Preview issue for non System Admin users

I am using Lighting:fileCard in the aura component and the System admin can see the preview of the file but not the other user with different Profile. <aura:component> <lightning:fileCard ...
1
vote
1answer
19 views

Is it possible to edit the Audit fields on UPDATE?

I found a question that was asked 7 years ago but they are only mentioning that Audit fields can be change on Create/Insert... What about when fields are already created and needs to update the ...
0
votes
1answer
162 views

How to enable flow access?

I have a user who needs to execute a screen flow but gets an error : You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or ...
0
votes
0answers
16 views

Can Standard Platform License users configure External Account Hierarchy?

Is there way to allow standard platform license user to manage and configure external account hierarchy? As per the help documentation, Manage External Users & Manage Profiles and Permission Sets ...
0
votes
1answer
27 views

How to retrieve field information “PermissionSet.applicationVisibilities”?

"PermissionSet" has several fields like "applicationVisibilities" or "fieldPermissions" like described here. How to get all fields (including name and/or if its required) ...
1
vote
1answer
23 views

Close Opportunity Flow Button Not Showing Up

I have a flow and an action button affiliated with it. The flow walks the user through editing a couple fields on Opportunity then closes the Opportunity with the right status. I've made an action ...
0
votes
0answers
33 views

How to get all PermissionSet fields via API?

I'd like to get all PermissionSet fields via API like documented here. I'd need information like field name, if it's required etc. I tried describeValueType() but that didn't return all fields.
0
votes
0answers
18 views

Why don't I receive all fields when I call describeValueType(“PermissionSet”)?

I need to get a list of fields of given metadata types, e. g. given Profile I would like to get the fields listed here: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
0
votes
0answers
41 views

INVALID_FIELD error on User.ProfileId for Salesforce Platform User

We have a running application that has a custom lightning component to create partner users. User is successfully created in the context of System Admin. But when trying to create a partner user in ...
1
vote
1answer
90 views

Permission Set: Existing other OLS/FLS permissions are wiped off in Production

Deployment: We deployed a custom permission set through Copado tool to Production and the git commit for this permission set contains 2 FLS permissions on User object. The scenario here is - other OLS/...
0
votes
0answers
16 views

Add new custom object to existing profile by metadata api

I have a few new custom objects in my unmanaged package and i want to give permissions to existing profiles in the target org. How can i do that? What i tried is the following xml file in my package: &...
1
vote
2answers
31 views

Do we need to set up Roles if we don't care about record ownership?

We have set our org up with Org Wide Defaults set to Private on a few objects. We open them up via Profiles and criteria-based Sharing Rules to Public Groups made up of users. Record ownership means ...
0
votes
3answers
482 views

Enforcing Guest User Object Permission Changes, How can Guest user Edit Custom Objects now?

How can I let a Guest User Edit a custom object after this update? In my scenario, there is VF page with a (Without Sharing controller) trying to edit a record from an inputfield populated by the ...
0
votes
1answer
31 views

Why there are no entries in FieldPermissions table if a field is marked as Required in Setup?

I use query like below to find what Profiles and Permission Sets give what kind of permissions to a specific field: SELECT Parent.ProfileId, Parent.IsOwnedByProfile, ParentId, Parent.Label, Parent....
0
votes
1answer
44 views

Marketing Cloud permissions in Data Extension

Hi I'm trying to setup a customize role in marketing cloud? What are the restrictions is needed for not showing a data extension record in email studio and Contact builder?
2
votes
2answers
53 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 ...
1
vote
2answers
93 views

Is it possible to check which all profile have access to a apex class salesforce

I have have created a new apex class. The old apex class have access to certain profiles new i need to give the same access to newly created apex class. Do anyone have any idea how to get the list of ...
0
votes
0answers
31 views

Object Permission is disabled for Customer Community User

Trying to give object permission for the Customer Community User , But all Permission are disabled. Can anyone help what i am missing here
0
votes
1answer
48 views

Disable Setup Button in Salesforce but also need “View Setup and Configuration Permission” in Profile for Metadata Deployement

I have a lightning component that is used to create and edit Metadata using Metadata API Deployment.I have created a System admin user for this because only System Admin user has "Author Apex&...
2
votes
0answers
82 views

“Interval” field not supported by Eventlogfile object (in Enterprise edition org)

I am using Salesforce Enterprise edition, and I have the "System Administrator" profile assigned to me, which has all the permission related to Read, Modify All data, View Event log files, ...
0
votes
0answers
19 views

How can a customer community user edit their parent account record?

I have an org with Person Account enabled and Customer Community user who can access Person Account records via a community via a Sharing Set: User:Contact = Account:Teacher__c The access level is ...
0
votes
0answers
41 views

Retrieve User Roles or Permissions in other BUs using SSJS

I have a few users that have access to different BUs. In each BU, they have different Roles (Permissions and PermissionSets), and I'm trying to get those Permissions/Roles that each user has in each ...
2
votes
0answers
50 views

Hidden System Permissions on Permission Sets / Profiles

I've been going through an exercise of migrating profiles into a more scalable permission set approach and ran into a few user permissions that don't have a UI checkbox or don't appear to have any ...
1
vote
0answers
869 views

'insufficient access rights on object id'

One of my users is trying to update a Contact record. OWD is Public Read Only on Contact. Grant access using hierarchy is checked. The user sits higher in the role hierarchy than the record owner. The ...
0
votes
0answers
17 views

Locking down send classification

I had a Marketing Cloud user use the transactional send classification to send an email to a list of opt outs, as we have a large number of users carrying out a lot of sends on a daily basis it's not ...
0
votes
0answers
30 views

Issue in Querying Salesforce EventlogFile [duplicate]

I am trying to Query "Event log files" from salesforce through Rest call. I have created a connected app with the following settings: OAuth Settings -> grant full access. Relax IP ...
0
votes
0answers
169 views

I cannot see case object in object setting in a Permission set?

Can anyone help to add Case to my object settings? Thanks in advance Solution : Thank you for the answers. I figured that at some point I have changed the label of Case object.
0
votes
2answers
80 views

Recall Approval Process Email Service

I need to give the permission to all users to recall an approval process (not only the admin or assigned approver). I wrote an apex class and created a button that call the method that updates the ...
2
votes
2answers
98 views

How to query profiles by ID?

My goal is to get all profiles (including customs) including all permissions and settings. I try to first get all profiles and then iterate over it to retrieve all permissions and settings. However, I'...
0
votes
2answers
44 views

User Permission Access Report

Does anyone knows how to get the report of users along with their roles and business unit assigned in SFMC ?
0
votes
0answers
26 views

Hide Site Guest User When Assigning Users

We recently created a two public sites, where we've enabled apex classes. The only purpose of these sites are to update a record field when called. The Apex classes have @RestResource(urlMapping='/<...
0
votes
1answer
33 views

How can I give read access to User for users on a Customer Community licence?

I have a lookup field called Requested_By__c which looks up to User. It is on a custom object called Sample__c. In my LWC (sampleHelpInfo) I am using @wire to get the sample record and the ID of the ...
0
votes
1answer
24 views

Lightning Component permissions

I have a Lightning Component button that calls some Apex methods. The same methods are called in classic by a standard button. In classic, both administrators and regular users are able to use the ...

1
2 3 4 5
18