Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy/Paste FLS and OLS #688

Open
sshapiro-articulate opened this issue Dec 20, 2024 · 2 comments
Open

Copy/Paste FLS and OLS #688

sshapiro-articulate opened this issue Dec 20, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@sshapiro-articulate
Copy link

Aligning FLS between fields to make sure that multiple fields are assigned to the exact same permission sets can be very tedious.

I would like to be able to copy all the FLS or OLS directly from the Edit screen of field level security for a field or from within a permission set or profile and then navigate to a different field level security screen or permission set or profile and paste the same read/edit permissions into the new location.

Describe alternatives you've considered
There is a Chrome Plugin that I have used in the past called FLS Comparator which worked great until Lightning was released and it just has never worked for me since then. Here is a link to the plugin: https://chromewebstore.google.com/detail/fls-comparator/miafgahohjddkeaikpngkcnmakidagoe

Additional context
Add any other context or screenshots about the feature request here.

@tprouvot
Copy link
Owner

Hi @sshapiro-articulate,

That can be a nice addition 👍
I tested it and see the benefits for a user to have all the information available directly in Salesforce UI

image

The thing is, I'm always hesitant to develop features that updates the Salesforce UI instead of providing the info in the extension pages.

Currently we have the info available in SOQL:
image

SELECT Id, Field, SObjectType, PermissionsRead, PermissionsEdit , Parent.Profile.Name FROM fieldPermissions WHERE SObjectType = 'Contact' AND Field ='Contact.Level__c'

What I can do is to develop a SOQL Export comparison feature that would be generic to all SOQL (and may benefits other use cases) that would highlight differences among the results.
Maybe adding a new button in the popup to redirect users to the SOQL with the prefiled SOQL

image

What do you think about it ?

@sshapiro-articulate
Copy link
Author

Hi @tprouvot,

I understand your hesitancy with the feature being embedded into the UI and I think you're onto something, but I think it misses the biggest benefit of the request which is the ability to quickly set the FLS of a field to match another field. If your comparison tool could essentially have a query of two fields based on API name and perform an update of the target field based on the FLS of the source field, I think that would accomplish the desired result. Also, same thing for Object Level Security.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants