Questions tagged [permission-sets]

A permission-set is a collection of settings and permissions that give users additional access to objects, records, tools and features they wouldn't otherwise have through their assigned profile. In this manner, a permission-set extends a users’ functional access without making any changes to their profile. This feature allows organizations to extend access for users without additional custom profiles for unique situations or limited time periods.

Filter by
Sorted by
Tagged with
0
votes
3answers
29 views

OWD override the Permission set?

I have a object with setting public read only but with permission set can i override it? Like if i want to delete or edit other records if user has a permission set assigned?
0
votes
0answers
18 views

Saving the Permission Set throws weird error

I have removed Modify All Data permission in System Permission for one of the permission set. But, what I am seeing is a weird error which I dont have any clue to fix it. I searched everywhere for the ...
-1
votes
0answers
17 views

Need a test class for this batch class that I have written to send a report of the data of Permission license set as csv and sending emails [duplicate]

global class PsList implements Database.Batchable<sObject> { global Database.QueryLocator start(Database.BatchableContext BC) { String query = 'SELECT PermissionSetLicense.MasterLabel, ...
0
votes
0answers
18 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 ...
1
vote
1answer
23 views

Issue with creating a permission set - it adds every custom field in the system

This happens even with a blank permission set - I created a new permission set called "blank" and retrieved it through the package.xml in Visual Studio code. When I open and look at the ...
0
votes
1answer
33 views

Disable Toggle to Classic | Automate permission assignment to New Users Analysis for Implementation

When a new user is created in Salesforce and is assigned to lightning enabled profile, then they should be automatically assigned the existing permission set "Restrict Toggle to Classic". ...
0
votes
1answer
48 views

SFDX CLI Permission Set Assignment Windows error

I have a permission set "Platform_Admin" which I can assign from the org, but when I try to do an assignment through CLI with the following command sfdx force:user:permset:assign -n ...
0
votes
0answers
13 views

Auto Removal Permission Set

I want to remove the Permission Set- Lightning Enabled User from Users who have enabled the Permission - Lightning Experience User on Profile. Want to do it in large batches or automating, so we are ...
0
votes
0answers
29 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
17 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
7 views

A Custom Field Permission from multiple permission sets in Salesforce using anonymous script

I have a custom field created in Task where access is not provided to any user (including System Admin) but via permission set the access is there. There are almost 200 permission sets in the org and ...
1
vote
1answer
55 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/...
5
votes
2answers
389 views

SFDX Permission set assign command failing in latest version 7.84

In earlier versions < 7.84.2 sfdx force:user:permset:assign command was working fine, but in latest version it is throwing error Permission set "U" not found in target org. Do you need to ...
0
votes
1answer
15 views

use permission set instead of profile in case in when we want to set up `password never expires`

Is there some workaround to use permset instead of using profile. I'm talking about integration user and to my mind it's bad idea to create separate profile (i believe we won't get more than 10 such ...
0
votes
1answer
100 views

Unable to assign permission set for guest license user

I have create a test/demo org from environment hub, stuck in assigning permission to guest license user. where as it's working perfectly in prod and test sandbox environment. permission set was ...
0
votes
1answer
44 views

Enable Push Notifications for Communities App - Salesforce as the User license for Permission Set

In the Salesforce documentation Enable Push Notifications for Communities App it says: Create a name for the permission set, select Salesforce as the User license then click Save. But this is for ...
1
vote
1answer
50 views

Deactivate “Session-Based Permission Sets” through Apex

Is there a way to deactivate "Session-Based Permission Sets" through Apex? We can activate it by creating a new instance of "SessionPermSetActivation" record in Apex, but I am ...
0
votes
0answers
31 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 ...
1
vote
1answer
36 views

easiest way to create permission set in sfdx project

Let's say i need to create new Permset. What is the best way to create .xml inside sfdx project premissionsets folder? What are the rules of naming? Where can I get details about .xml contents?
2
votes
0answers
34 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 ...
0
votes
2answers
49 views

User doesn't have permission to delete a case

I have two permission sets: firstOne: contains only "Manage Cases" permission and Modify All on Cases secondOne: contains all the first one but also has a lot of other settings related or ...
0
votes
1answer
20 views

How to retrieve Users, their AssignedPermisionSets and Public Groups they are part of using a SOQL query

I have a use case where I have to query Users, their AssignedPermisionSets and Public Groups they are part of using a single SOQL query in an Excel File, I'm currently using Enabler4Excel for this ...
1
vote
1answer
111 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?
0
votes
1answer
39 views

How can I use MetadataAPI to add field visibility to a Permission Set (Using APEX)

I'm creating a field dynamically via apex (or tooling API haven't decided yet) and my problem has been this field is created with no access level to anyone. To overcome this I wanted to add the field ...
0
votes
1answer
46 views

How to restrict users from getting entered in a lookup field based on their permission set assignment using validation rules

I've a use case where Users having a PermissionSetAssignment X should not be allowed to be made owner of a custom object record by another users. I'm able to do this using a trigger but I've to make ...
0
votes
1answer
21 views

Share records related to a record type using groups

I have several recordtype on the account. I created a permission set that has access to a certain recordtype but there is no view all, but I need the user to have access to all the records created ...
3
votes
1answer
69 views

How to remove Users from Permission Set when uninstalling Managed Package

I've like to automate the process of removing users from a Permission Set when uninstalling a managed package: global class AppUninstallHandler implements UninstallHandler { global void ...
0
votes
0answers
29 views

Grant View All Accounts permission for a Community User

We have a community and community users holds customer community login profile. Basically, Account and ChildObject__c have been shared with community users with a sharing set according to the below ...
0
votes
1answer
20 views

Manager Package remover permission object standard

I have a question here. I have a manager package and when I upload to some org my permission sets no longer have permissions for standard objects, does anyone have any idea why this is happening? ...
0
votes
1answer
35 views

sObject type 'RemoteProxy' is not supported

I'm having: "sObject type 'RemoteProxy' is not supported." when I try to do an API call. I'm sure it is a profile permission issue. RemoteProxy relates to 'Remote Site Settings'. On the ...
0
votes
1answer
21 views

Field 'PermissionsWorkplaceCommandCenter' can not be grouped in a query call [duplicate]

I am trying to get the value of PermissionsWorkplaceCommandCenter field per Profile in PermissionSets via Salesforce Workbench. At first, I have this query: But this results to following error: I ...
1
vote
1answer
44 views

Org Shape Permissions Missing from Permission Set Setup

I am trying to follow this Salesforce DX Developer Guide: Org Shape Permissions (Beta) I have created a Permission Set and I want to add the two permissions: Create and manage org shapes: Object ...
0
votes
0answers
26 views

Custom Field marked as Read Only, appears editable on Page Layout

I have a Custom Field on Contact object which is marked as 'Read Only' + 'Visible' via Field Level Security. When I navigate to Contact Record Page, the field still appears to be editable. Screenshot ...
0
votes
0answers
33 views

Cant see Einstein Predictions

I Cant see Einstein Predictions for certain user/s. I have assigned the license to the User and tried assigning all sorts of permissions sets that I found referenced in different Articles (Ai Record ...
1
vote
0answers
38 views

How to detect Permission Set Assignments deletion?

I am currently trying to detect changes in permission set assignments within an arbitrary period; it implies creation and deletion. Where profile and permission set assignment creation is straight ...
1
vote
2answers
50 views

Receiving “no CustomObject named DandBCompany found” when Installing SFDX Unlocked Package

I'm working on publishing a Unlocked Package. I am using a developer org as a devhub and devloping using SFDX, VS Code, Scratch Orgs, etc... I am able to package the code without a problem, but when ...
0
votes
0answers
27 views

Is there a way to enable Classic for a single user?

Lightning experience is enabled for all users, and the option to switch has been removed except for system admins. I need to allow one user the option to switch to Classic, without assigning it as a ...
1
vote
0answers
30 views

System modify all data permission does not seem to be working

I am trying to update activities (tasks) using the bulk API utilizing a client. It seems to be working however I am getting a few thousand records that are returning an error : Unknown_Exception: An ...
0
votes
0answers
12 views

Is there any way to find when a System fields was published?

Use Case I would like to write a test to ensure a permissionset grants read permissions on all of fields. I've got that working just fine, but as managed packages update and the platform itself ...
3
votes
0answers
39 views

Error “permissionsets/MYPERMSETNAME'S.permissionset — Error: insufficient access rights on cross-reference id” when deploying using ANT

We are currently using Azure Pipelines as our tool for CI/CD. For our Deployments, we are currently ANT and everything was working fine until we added "Permission Sets" and "Profiles&...
1
vote
1answer
62 views

How can I map between a permission name in the API and the label shown in the UI?

I just ran into an error when deploying a Profile that required knowing the mapping between the UI Label "Run Macros on Multiple Records" and it's corresponding API PermissionName of "...
0
votes
0answers
16 views

Is there anyway of restoring permissions to default in SalesCloud?

After configuring MC Connect, I've been messing around with the permissions and now I can't see certain layouts and I don't know what I changed. Can I restore somehow the permissions to default? ...
0
votes
0answers
86 views

Document CheckList and Einstein Form Reader Permission Sets not available on Winter'21 Preview Instance

I am trying out the 'Intelligent Document Automation' feature that has come in Preview Instances of Winter'21 Release. For using this feature, there are certain Permission Sets, Settings that need to ...
0
votes
1answer
78 views

Give User Customize Applications permission

I am trying to give one of my users the ability to assign values in field dependencies. I believe that the permission they need to do this is "Customize Applications" however i can't seem to ...
0
votes
1answer
24 views

Whats the most efficient way to build a FULL FLS perm set?

View All / Modify All system perms in no way interact with FLS. Yet there's also no convenient system permission to say 'this user should have read/edit ability for all field FLS', as far as I know. ...
1
vote
0answers
34 views

Is there a way to automatically verify identities using geolocation for some users?

Is there a way to enable Let Salesforce Authenticator automatically verify identities using geolocation setting only for some users with Permission Set or some other way? I'm trying to enable ...
0
votes
1answer
23 views

How give two users with different profiles and roles the ability to edit some fields but prevent all other users from editing the field(read only)?

How to give only two users with different profiles and roles the ability to modify some fields but prevent all others should have (read only)? I would like to avoid creating a brand new permission ...
0
votes
1answer
117 views

Standard object tabs in permission sets

I am looking to use permission sets to manage access to standard Salesforce object tabs such as Accounts and Contacts. The user in question has a profile with no permissions; All tabs are set to Tab ...
1
vote
1answer
64 views

Canot Assign 'Access B2B Commerce Admin Settings' Permission Set in Preview Org

I am trying to install and test some features of B2B Commerce (Cloud Craze) in a preview org for the upcoming Salesforce Winter '21 release. (I am the admin of my preview org) I have my preview org ...
0
votes
1answer
50 views

Can we add Permission Set Name criteria in Process Builder?

I am trying to add a criteria which checks for permission set names in process builder. Like we can check User.Profile.Name = 'abcP' Can we check User.PermissionSet = 'abcPS' ?

1
2 3 4 5
8