A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
2
votes
1answer
64 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 ...
0
votes
0answers
10 views

Enterprise Territory Management without Sales Cloud User License

Is it possible to setup Enterprise Territory Management without Sales Cloud User licenses effectively? What are the downsides? We currently only have Service Cloud User Licenses but have enabled ...
2
votes
1answer
49 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 ...
0
votes
0answers
6 views

How do you manage permissions on MC? [closed]

Unless I'm looking in the wrong place, the role permissions on MC are listed under 41 areas with a total of over 1,100 check boxes! Given that the system itself comprises only 8 separate modules, I'm ...
2
votes
0answers
39 views

Custom Setting Access

I have 2 public list custom settings. Both can be exposed via the Custom Setting UI and Apex with the Customize Application permission. However, without that permission 1 of the Custom Settings is ...
5
votes
1answer
166 views

How to get list list of flows accessible by a User based on Permission Sets?

In order to provide more granular and controlled access to flows, all our flows are enabled with access setting of "Override default behavior and restrict access to enabled profiles or permission sets"...
1
vote
2answers
44 views

How to determine which objects do not support Modify All and View All permissions?

All custom objects and most standard objects support Modify All and View All permissions, however, some like object like Idea do not support them. Is there a way in Apex to determine which objects do ...
0
votes
1answer
12 views

Is there a way to define if a field is Ever Updateable, if Update access can be granted to a field by Profile or Permission Set?

Is there a way to define if a field is Ever Updateable, if Update access can be granted to a field by Profile or Permission Set? Field Describe information for a field can define if permissions can ...
1
vote
1answer
33 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 ...
2
votes
1answer
30 views

SOQL query for all Users who have read access to Task object

I am trying to write a SOQL query to find a list of Users who have read access to the standard Task object but my query keeps coming back empty. Is there a better way to do this? I have a dropdown ...
1
vote
1answer
40 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 ...
2
votes
2answers
32 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
21 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
31 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
32 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
75 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
8 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
36 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
29 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
23 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
56 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
17 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
91 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
103 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
70 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
19 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
41 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
12 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
49 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
24 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 ...
1
vote
0answers
76 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
31 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
130 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
49 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
79 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
29 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
27 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
24 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
33 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
111 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 ...