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
0answers
9 views

Salesforce Marketing Cloud - Roles and Permissions Issue

Typically for a power user in SFMC I will assign the following roles: Administrator Marketing Cloud Administrator Historically this has given access to 95% of the areas needed. The issue is now ...
0
votes
1answer
19 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
1answer
9 views

Creating Service Resource with Asset record type

We are trying to create Service Resource with Asset record type. But getting the following error: Found something here: We tried giving Lightning Scheduler permission by follwoing Manage ...
1
vote
0answers
17 views

Deleting ObjectPermissions record fails in apex batch but succeeds in two separate apex transactions

I have a Apex Batch job that "cleans" object permissions on permission sets automatically based on some rules. Essentially in each batch execution I am deleting all ObjectPermission records to a ...
0
votes
1answer
25 views

How to give access to records of lookup users?

In an Account Object a field called ‘Sales Person‘ and it has lookup relation with the user object. If the user is selected as the salesperson for a record, that user able to see those records, but ...
0
votes
1answer
20 views

Time limit exceeded while enabling all Apex classes in permission set

I have created a permission set. The permission set does not have access to any apex class: Enabling all classes in the permission set: Getting the below error: I can enable the permissions for ...
3
votes
1answer
52 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 ...
0
votes
0answers
7 views

Update all subscribers from a synchronised data extension

If we were to use a custom preference centre and synchronise the optin status of an email address and subscriber key into marketing cloud using a synchronised data extension managed in sales cloud, is ...
0
votes
1answer
35 views

Way to assign read only to ALL fields at once?

Is there a quick and dirty way to assign read only to every field in all objects at once? It is rather tedious for read only profiles to go object by object/field by field. Thanks!
2
votes
1answer
27 views

Field level Security Or Profile permission edit not working!

On a "section" of the Opportunity Object I am trying to give "read only" to a specific profiles or specific user however when I go to profile I am unable to edit profile permission of the object I am ...
0
votes
1answer
14 views

Not able to find Service Analytics Admin permission set

I am trying to create App in Einstein with Field Service Analytics template. To do the above I am following this. I need to provide below permission sets to the Integration User: Service Analytics ...
0
votes
1answer
29 views

Object doesn't exist or isn't accessible to the Integration User

I am trying to create App in Einstein. Getting the below error while creation of the App: Your org does not currently meet minimum data requirements to proceed. Please fix the following issues ...
0
votes
1answer
15 views

Different QuoteDocument using Connected APP REST API and Workbench / Interaction

I've set up a autolaunched Flow, which creates a PDF based on a Quote Template. My connected APP use this Flow through the REST-API. The output is an empty PDF with a Size of 2 KB. The same Flow, ...
0
votes
1answer
56 views

B2B Commerce product access to logged in user

I have the following problem in Commerce Cloud's B2B Commerce (formerly CloudCraze) 4.11: A guest user (Anonymous) can browse and see products on the PLP and PD pages. A logged in user, however, ...
2
votes
1answer
74 views

“Metadata Through Metadata API Functions” permission Not Working

I want to make a permission set such that a user only has Metadata Access and preferably only Read-Only Metadata access through Ant. The idea is I want to make a "Backup Metadata" user. I do not want ...
3
votes
1answer
51 views

Details on Marketing Cloud Permissions?

Does anyone have any details or a link to a page that explains the granular permissions within Marketing Cloud? The documentation is atrocious in this area. It looks clear in the documentation here ...
0
votes
1answer
14 views

Read Access to Parent, but No Access to Child - Master/Detail

I have a master-detail relationship between two custom objects. I have read, create, edit on the parent record, but no access at all to the child due to profile permissions for the user I am looking ...
0
votes
1answer
20 views

How to set field visibillty of all custom fields in salesforce using Metadata API

I am implementing Salesforce MetadataAPI , i created the custom fields using Metadata API but those fields are not visible , so how to set fieldlevel visibilty to all custom fields using Metadata API
0
votes
0answers
15 views

How to allow public access to a flow in a community

I have created a Form using Flow and I have placed it in a community to be able to give it a specific URL. My main goal is to make this page accessible to everyone, without forcing them to create a ...
0
votes
1answer
9 views

Limit records based upon multiple criteria on object and user

I'm looking at limiting access to certain records such that should a record be assigned to a certain group of users (via some field on the object), only those users would be able see or edit those ...
0
votes
0answers
33 views

An error has occurred in the following section: [Exception, TransferRequiresCrudReadException]. Salesforce.com has been notified of this error

When I am updating account owner AAA to BBB, i am facing below error. I have checked profile level, Role level and share settings. Every level i have configured perfectly. But i created test account ...
0
votes
0answers
10 views

SOQL query on FieldPermissions is not returning row for all the fields of the sobject?

SELECT Id, Field, SObjectType, PermissionsRead, PermissionsEdit,parentid FROM FieldPermissions WHERE SObjectType = 'Account' AND parentId IN ( SELECT id FROM permissionset WHERE ...
0
votes
0answers
10 views

Unable to Subscribe to Report for one of my Users

I created a report for my Management level users, and they wanted me to add another user. I had no problems adding the management users, but when I went to add the ancillary user, I got this error. I'...
1
vote
1answer
29 views

Allow user to insert File/ContentVersion when not Admin

I want to insert ContentVersion as a non-Admin Profile/User. When I run the code below I get the error below. I tried to clone the System Administrator profile and call it nonAdmin, that did not work....
2
votes
2answers
23 views

Restrict Content Document access

Can I set No Access to Content Documents at the Profile level? I am working in LEX, with the understanding that there is no way to hide the Upload Files button without customization. So, I thought I ...
0
votes
0answers
40 views

Community user with customer community License not able to run Screen flow

I have created a screen flow and login flow. Have called the screen flow from the login flow. Login flow is configured to execute on community user login. When the community user logs in, my login ...
0
votes
1answer
28 views

Different permissions between REST API and UI

I'd like to be able to set different permissions for the same user depending on whether they're accessing/editing a resource in the UI or via the REST API. For example, they'd be able to edit a custom ...
0
votes
0answers
91 views

View Flow Usage and Flow Event Data Permission is conflicting across orgs

I noticed today that a permission conflict is resulting in the failure of a deployment and we have no clear way to fix it. The standard admin profile in Production has the View Flow Usage and Flow ...
0
votes
1answer
47 views

Locked myself out of the admin account

Accidentally gave myself API User permission set and now everywhere in salesforce I get salesforce.com/secur/NoAccess.jsp is there any way to overcome it consideringI have the only active Admin ...
1
vote
3answers
52 views

Control access exclusively to custom metadata screen

I am wondering what is the way to get edit access to a specific custom metadata using PermissionSet in UI. Here is what i have done: Setup -> PermissionSet-> MyPSName system permission -> checked ...
0
votes
0answers
28 views

Apex code behaving differently on different domains

We have a domain that is accessible once logged in to Salesforce, that we use to view VisualForce pages, like https://ourcompany.abc123.visual.force.com We also have a domain that has some publicly ...
0
votes
0answers
23 views

How can I deploy Connected App Permission

I am trying to figure out if Connected App Access to Profile/Permission Set can be deployed using Ant/Eclipse. If so what is the node in the Profile/Permission Set file which relates to this.
3
votes
1answer
35 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
2answers
31 views

need to provide one permission to users

I just wanted to add one permission to users (Sales(standard__LightningService) the current approach is to create a permission set and assigned connected app to PS.is this good for only one ...
1
vote
0answers
23 views

VisualforceAccessMetrics: Persmissions to Access this Salesforce Object

I am running this query in Classic => SELECT ApexPageId, ApexPage.Name, DailyPageViewCount, Id, Profile.Name, MetricsDate, LogDate FROM VisualforceAccessMetrics ORDER BY ProfileId But, I am ...
0
votes
0answers
18 views

Community Users have access to internal records?

For some unknown reasons, my org's Community Users have access to records that the internal org members generated. I have checked the following setting: Opportunity Sharing Rule: none that applies to ...
1
vote
0answers
31 views

Why are readable/editable fields missing from Profile.xml Metadata? Workaround?

I'm trying to build a "no permissions" baseline profile in a sandbox I just spun up from my production org before playing with a new integration (so I can assign permissions in a "least privilege" way)...
2
votes
1answer
28 views

Can I turn off read access to field history for some users?

All users should be able to see Cases, generally. Some of my users should see CaseHistory on the Case layout, and some (same profile) shouldn't. Is there any way to remove View permissions on ...
1
vote
1answer
76 views

The record couldn't be saved because it triggered an email alert that failed

Staff user is a member of Queue 1 attempting to transfer a record to another team which works out of Queue 2. When updating the owner to Queue 2 and saving the record the following error displays. ...
1
vote
1answer
26 views

Limit Access to records unless they are shared

This might be somewhat of a stupid question, at least it feels like it should be a fairly easy solution but I've been banging my head against it for a couple of days now with no luck. I'm trying to ...
0
votes
1answer
33 views

My boss deactivated the “Running User” who created the President's Dashboard which then disappeared

As stated in the title, in Classic, my boss deactivated a "Running User" who created the President's Dashboard which then disappeared. The deactivation was performed because that person is no longer ...
0
votes
1answer
31 views

Need that Partner User see contacts that match certain field with their own contact

Partner user should only see contact records that are related to them based on a field on the contact record, let's say Account for example. What I have tried: Sharing Settings: Contact | Public ...
0
votes
0answers
22 views

Marketing Cloud API for Admin Users [duplicate]

I am creating an external tool to help with auditing user access across multiple applications. One of those on the list is Marketing Cloud to be able to see which users have accounts and their status. ...
1
vote
0answers
20 views

Insufficient access error when trying to change api name of platform event or delete platform event

I am administrator in my scratch org. But when I try to change api name of an existing platform event or try to delete it, I got an error message saying that I don't have sufficient access to it. I ...
1
vote
1answer
26 views

CRUD enforcement does not allow access despite user privilegies

I've a custom object accessible for a custom profile cloned from Salesforce/ Standard user profile. The custom object was created using a System administrator user profile. I've granted access to this ...
0
votes
1answer
23 views

Can change the ownership(to internal user) of custom object record by Site Guest User

We have lightning community, in which we have drag and drop component. After onclick of button, we are updating custom object 'contact survey' record owner id. In @AuraEnabled method we are updating ...
1
vote
1answer
51 views

How to remove fieldPermissions from Profile via metadata API

We manage to create new fieldPermissions by calling updateMetadata() and passing to it a Profile object with the new fieldPermissions. However, we haven't figured out a way to remove specific ...
4
votes
0answers
36 views

SOQL query: “sObject type 'FeedPollChoice' is not supported” for specific user

I have an application that is making calls against the REST /services/data/<api version>/query/ endpoint. My Salesforce org has two users: Alice has the "System Administrator" profile, and Bob ...
1
vote
0answers
51 views

Apex(no sharing specified) , OWD (public read only) and read Object level permission on profile - INSUFFICIENT_ACCESS_OR_READONLY

Custom Object - OWD (public read only) Apex(no sharing specified) and the apex is the entry point Object level permission on profile is read I was trying to update a custom object logging in as a ...
1
vote
0answers
19 views

Validation rule error triggers page to switch from Lightning to Classic

I've created validation rules to dissallow users to change a 'status' field until certain fields are populated. This issue occurs when a user tries to change the 'status' without populating necessary ...