amtrack / sfdx-plugin-source-read

sfdx plugin to read Metadata via CRUD Metadata API
36 stars 4 forks source link

Is it work with permission set? #29

Closed rubicn closed 1 year ago

rubicn commented 1 year ago

after testing it. seems that is not working with permission set?

amtrack commented 1 year ago

As stated in the README:

Disclaimer

Currently this has been tested only for Profiles and RecordTypes.

Can you explain your use case for PermissionSets?

rubicn commented 1 year ago

Sure,

Like profiles their is an issue with permission set.

I want to retrieve the entire permission set (100% include fields, objects, classes tabs and etc...)

amtrack commented 1 year ago

@rubicn I can now confirm that sfdx force:source:read -m PermissionSet:Dummy behaves like sfdx force:source:retrieve -m PermissionSet:Dummy. It will only return the true values and not all the content like for Profiles. That seems to be the behaviour of the CRUD Metadata API.

rubicn commented 1 year ago

OK, Maybe do you know about other solution? thanks

amtrack commented 1 year ago

Unfortunately no.