Skip to main content

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.

191 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
2 answers
319 views

Where can I find a mapping between a profile setting label and the underlying XML tag for a profile?

I am trying to audit a profile. I have a sheet with the labels in the profile, and I have the profile XML. But there is no simple concordance between something like this: <userPermissions> &...
Scott Cromie's user avatar
5 votes
1 answer
1k views

Update permission set in managed package

I have a managed package with permission sets included. I also use custom setting objects. Permission sets userPermissions have to be set to allow CRUD on Custom Setting but this can not be included ...
Simonp's user avatar
  • 1,902
4 votes
0 answers
270 views

Custom Permission in Validation Rule evaluating as Null when assigned

We have a requirement to prevent changes to a contract record once active unless the you are a contract admin, which can span multiple profiles. I'm trying to accomplish this by using a custom ...
david's user avatar
  • 61
4 votes
0 answers
1k views

How to return all users that have access to a specific record

Is it in any way possible to return a list of users that have access to a specific record together with their permissions? What I want to do is the equivalent of the SOQL query SELECT RecordId, ...
Mr_TC's user avatar
  • 41
4 votes
0 answers
135 views

compiling error during runtime for class that compiles fine

I'm getting the following error (below) while executing a future call. The mentioned class compiles and saves fine upon retesting. Any idea why this would be occurring at runtime? It seems to work ...
Phil B's user avatar
  • 5,026
4 votes
1 answer
573 views

Can I completely replace Profiles with Permission sets

I have a managed release package which is having one custom profile. Now in next release I want to create a new profile in V2.0 of released package. But what I found is while upgrading package, I can ...
SEuser's user avatar
  • 1,847
3 votes
0 answers
628 views

Manage permissions "The list view you requested was deleted, or you don't have permission to view it."

I'm using a Scratch org and trying to assign a Permission Set to a User. I go to "Setup" > "Permission Set" > Select a permission set > "Manage Assignments" > ...
Alberto's user avatar
  • 61
3 votes
0 answers
129 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&...
Rodrigo's user avatar
  • 1,295
3 votes
1 answer
533 views

How to fix Re-occuring error in Apex class Permission set assignment

to create a specific Permission to make a button we created available for specific roles, we had to include all of the Apex classes used for this and this error occured after saving : common.exception....
Lion Osahon's user avatar
3 votes
0 answers
209 views

Why is SFDX is removing negative permissions from PermissionSets?

I have recently observed two different behaviors from SFDX when fetching a Permission Set. Initially (last week) I had to pull a permission set from a Sandbox into an SFDX project, using sfdx force:...
Jason Clark's user avatar
  • 11.9k
3 votes
0 answers
704 views

Use old style UI when editing object CRUD in a permission set

Is there a way to use the old profile UI when editing a permission set? I'm trying to build a workaround for today's massive permissions crash in Salesforce. I want to set CRUD permissions on a lot ...
David Cheng's user avatar
  • 7,090
3 votes
0 answers
1k views

CreatedDate Not Available as Mapping Option in Salesforce Data Loader When Inserting New Records

There's a need for me to load records in our SF sandbox wherein CreatedDate standard field in Case object must be inputted manually in csv file, instead of the system automatically setting itself. I ...
curdual's user avatar
  • 315
3 votes
1 answer
85 views

Permissionset Meta Data - Field level security

Situation For few reasons it is necessary to keep track of all changes in salesforce. Especially permissions are very important. In oder to keep track of our administrators work we download every day ...
Christian Deckert's user avatar
3 votes
2 answers
1k views

Ability to remove PermissionSets via Community User License

Business requirement is to flip a few permission sets on community profile, based on certain changes in records. These changes are usually triggered as result of actions from other community users ...
Abhinav Gupta's user avatar
3 votes
1 answer
1k views

The object "VoiceCall" can't be updated through a flow - When creating a package version

We have stumbled upon The object "VoiceCall" can't be updated through a flow. error when introducing the required metadata for our Service Cloud Voice with BYOT (Bring Your Own Telephony - ...
I am The Jonathan's user avatar
2 votes
0 answers
35 views

Retrieve/deploy metadata for PermissionSet works but changes don't reflect in Setup / Permission Sets

I need to make changes to unpackaged Permission Sets in several Salesforce orgs. My plan was to retrieve a specific Permission Set via the Salesforce CLI, modify it, then deploy it... sf project ...
nstuyvesant's user avatar
2 votes
1 answer
446 views

TABSET_LIMIT_EXCEEDED error when assigning permission set to automated process user

I'm attempting to assign a permission set to the automated process user but I'm getting the following error: System.DmlException: Insert failed. First exception on row 0; first error: ...
Nick C's user avatar
  • 6,780
2 votes
0 answers
135 views

How does Permission Sets works against Licenses of Managed Package

We have built a Second Generation Managed Package and want it to be available as paid version in AppExchange Portal. So If a user buys it from AppExchange, he/she gets the licenses to use the solution....
S1th's user avatar
  • 143
2 votes
0 answers
919 views

How to determine if a given User can view a given FeedItem

I'm using the query API to retrieve User and FeedItem objects. I want to be able to determine which users can read/view which feed items. FeedItem has Visibility property, but it doesn't help much. ...
Mugen's user avatar
  • 121
2 votes
0 answers
43 views

When did it become possible for Extension packages to grant access to Base package objects via permission sets

In a newly created extension package I noticed that the permission sets included were trying to grant access to base package objects. I was convinced this could not work (these permissions should be ...
Kevin Jones's user avatar
2 votes
0 answers
77 views

Permission set error while installing unlocked package

I have created an unlocked package version and while trying to install it in production, I am getting an error: Permission Create Invoice_Approver__c depends on permission(s): Read Order__c ...
Arun Menon's user avatar
2 votes
0 answers
62 views

Create PermissionTabSetting and PermissionSetApplicationVisibility

I had some issue importing Permission Sets in Managed package: I can not import User Settings I can not update Permission Sets from Managed Package in post install script So I decided to generate ...
Simonp's user avatar
  • 1,902
2 votes
0 answers
1k views

Editing a contact that has no Account and are owned by others

With Contacts that has Public read/write in sharing settings and the user has read,edit,create,view all permissions only. The user will not be able to edit the contacts owned by other users unless ...
SfdcBat's user avatar
  • 4,811
2 votes
0 answers
201 views

Custom objects visible for all users

I have a managed package with permission set for custom objects, VF pages, etc. When I install this package for a sysadmin user (granted access to only sys admin profile), I see that the custom ...
Oliver's user avatar
  • 31
2 votes
1 answer
1k views

Which Objects are displayed in PermissionSet Object Settings?

I am a noob with Salesforce, please bare with my question. I am creating an App which enables easy edit/creation of PermissionSets on an ORG. In this process, I am creating a tree view with ...
BigHairDev's user avatar
2 votes
0 answers
686 views

Managed Package Permission Set with Permissions to Other Packages & Standard Objects

We have a base package, 2 extension packages, and we extend 2 other packages. We enhance our packages and deploy to several dev, test, and production customer orgs on a regular basis. We need to ...
Jeff Mikkelson's user avatar
2 votes
1 answer
71 views

Permission Set issue with 'apex:include' tag

I have created two visualforce pages, Vf1 and Vf2. I have included Vf2 page in Vf1 page by using 'apex:include' tag. I have given permission set to a child user to access Vf1 page only, but he is able ...
Rv1's user avatar
  • 756
2 votes
1 answer
2k views

Permission set Assign issue for SalesforcePlatform license

I have create a user with the user license as "SalesforcePlatform", here i create some custom permission sets to assign for that user. The Permission set having the System permission access as "Insert ...
Venkatsforce's user avatar
2 votes
0 answers
251 views

Should we give the guest user profile the "view encrypted data" permission?

We've developed native VF/Apex code that allows us to send a link to a customer and have them securely view a PDF of their contract (contract is a VF page generated using data from fields in their ...
StartingAgain's user avatar
2 votes
1 answer
4k views

Unable to access External Credentials from ApexClass

I am trying to have a named credential (with external credential) and make a callout from my unmanaged package's Apex class. Unfortunately I am getting the following error in the Apex We couldn't ...
SatheeshJM's user avatar
1 vote
0 answers
21 views

Unable to edit Marketing Cloud SF Connector Permission Set to sync new object to MC

I cannot seem to edit the permission set Marketing Cloud Connect to add a new object so I can sync it in marketing cloud. I've set up the following in both systems, and I do not have the edit button ...
Anu Pandey's user avatar
1 vote
0 answers
168 views

Waive MFA for exempt users not overriding as advertised

The Waive MFA permission states: Disable MFA challenges on direct UI logins for users or orgs that aren’t required by Salesforce to use multi-factor authentication, per the Salesforce Trust and ...
Strong Like Bull's user avatar
1 vote
1 answer
139 views

Some flows not working on 2G managed package in Production Org

I've hit a bit of a snag and could use some insights. The Core Issue So, I've been working on this 2G managed package (API version 59) and finally got it released and installed in the production Org. ...
cpaesano's user avatar
1 vote
1 answer
28 views

How can I get the user-friendly label for the available permissions?

While I'm able to query the PermissionSet object and retrieve FIELDS(ALL), parsing the fields that start with Permissions to see which permissions are available, I'd like to get the user-friendly ...
Chuck's user avatar
  • 967
1 vote
0 answers
166 views

Persmissions required to query Permission sets and Permission set groups via Workbench

I have applied the Minimum access profile (+ 10 permissions below) to a user who authenticates the connection SF <> EC. List item List item View All Users View Setup and Configuration View All ...
TRex's user avatar
  • 11
1 vote
1 answer
259 views

I am not able to mute product delete ability on permission set group

I want to mute delete ability on my permission set group for the product object but cannot do that due to the error you see on the screenshot. Error itself doesnt make any sense since it says that I ...
Nomad's user avatar
  • 15
1 vote
0 answers
280 views

How to enable object SharingRecordCollection in sandbox?

Context To retrieve all applicable files in the org and perform a data migration on ContentVersion records, we have created a permission set with Query All Files permission (as recommended here) and ...
Shamina's user avatar
  • 4,295
1 vote
0 answers
770 views

Assigning record type via Permission sets to eliminate user selecting upon record creation whilst different user groups have same Profile

Aim: Have 2 record types with 2 page layouts for 2 groups of users of the same profile for a custom object but ensuring each group are not faced with a record type selection/prompt upon record ...
AwesomeAdmin's user avatar
1 vote
0 answers
562 views

Permission Set Recalculation Failed

I am attempting to recalculate a permission set, but I am getting the following error. I can't figure out which Permission in the Permission Sets in the group is failing? Permission set group ...
jordan.baucke's user avatar
1 vote
1 answer
2k views

Permission Set Group Recalculation Failed 2000+ Fields

We are encountering Permission Set Groups that are stuck in the Failed state, I was able to find: https://trailblazer.salesforce.com/issues_view?id=a1p3A0000003eq1QAA, and after removing all of the ...
jordan.baucke's user avatar
1 vote
0 answers
406 views

Best Practices for updating permission sets in managed package to reduce and expand permissions?

Per this article, we cannot update permission sets in managed packages: https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_perm_sets_profile_setttings.htm ...
Matthew Metros's user avatar
1 vote
1 answer
133 views

Permission Sets automatically updated by Spring22 migration: rights removed

One of our production org has been automatically migrated to Spring22 by Salesforce last week-end The following jobs has been run by SF platform during the update (audit trail extract) After this ...
Nicolas Vuillamy's user avatar
1 vote
0 answers
121 views

Assign permission set in a connected Org via external objects with Apex class

We are creating users in a connected Org via external objects without issues, but when trying to assign the permission sets to those users we are getting the error "System.SObjectException: ...
Cícero Schoeps's user avatar
1 vote
0 answers
48 views

Target Org Community user unable to access Protected custom setting in Managed package

We have created a custom lightning component for one of our client who are utilizing our Managed package. We are calling a managed package global apex class from this custom lightning component where ...
AshSFcloud's user avatar
1 vote
0 answers
398 views

How to Access permissionSet from PermissionSetGroup/Profile to see if a user can access an object

I need to verify if a user can access in Read/Write object Account. I understand there are multiple ways to give access to an object: by the PermissionSet by the PermissionGroup by the profile So, ...
Pierre-Yves Monnet's user avatar
1 vote
1 answer
346 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 ...
Salesforce Newbie's user avatar
1 vote
1 answer
634 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 ...
Victor Archela's user avatar
1 vote
0 answers
1k 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 ...
Julien St-Pierre Fortin's user avatar
1 vote
0 answers
516 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 ...
kratos's user avatar
  • 541
1 vote
0 answers
236 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 ...
BBK's user avatar
  • 109