texei / sfdx-pull-issues

Improvement of force:source:pull to take care of known bugs
3 stars 0 forks source link

After adding FLS to a Permission Set during field creation, all Permission Sets are pulled #19

Open FabienTaillon opened 7 months ago

FabienTaillon commented 7 months ago

Describe the bug When "Field-Level Security for Permission Sets during Field Creation" is activated (Setup/User Management Settings/Field-Level Security for Permission Sets during Field Creation), adding FLS on one Permission Set ends up in all Permission Sets being pulled.

To Reproduce

Even though only 1 Permission Set is modified, all of them are pulled, even some standard ones. This also happens when using the "Set Field-Level Security" button on an existing field. This is painful as we don't want to retrieve unmodified Permission Sets that may be in the org but not part of our project.

Expected behavior Only the modified Permission Set should be pulled.

Screenshots All Permission Sets:

1

Only one which has object permissions is selected:

2

Everything is pulled:

3
FabienTaillon commented 7 months ago

Case #46558125 created.