ManagePackageLicenses permission cannot be retrieved
- Dominant language
- No language data
- Stars
- 571
- Forks
- 80
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 3
Description
### Summary
Retrieving permission set does not include `ManagePackageLicenses` permission.
### Steps To Reproduce
- Create a permission set with license of Salesforce or Salesforce API Integration
- Assign the `Manage Package Licenses` Permission under System Permissions settings.
- Click save and retrieve via SF or SFDX CLI
### Expected result
- The permission set that was retrieved should have the `ManagePackageLicenses` permission in the XML
### Actual result
- The permission set that was retrieved does not have the `ManagePackageLicenses` permission in the XML
### System Information
MAC OS zsh
```
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.17.14",
"nodeVersion": "node-v20.9.0",
"osVersion": "Darwin 23.1.0",
"rootPath": "/Users/jaysonf/.local/share/sf/client/2.17.14-31db5eb",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.1 (core)",
"@oclif/plugin-commands 3.0.6 (core)",
"@oclif/plugin-help 6.0.5 (core)",
"@oclif/plugin-not-found 3.0.3 (core)",
"@oclif/plugin-plugins 4.1.7 (core)",
"@oclif/plugin-search 1.0.6 (core)",
"@oclif/plugin-update 4.1.3 (core)",
"@oclif/plugin-version 2.0.6 (core)",
"@oclif/plugin-warn-if-update-available 3.0.2 (core)",
"@oclif/plugin-which 3.0.8 (core)",
"@salesforce/cli 2.17.14 (core)",
"apex 2.3.20 (core)",
"auth 2.8.26 (core)",
"data 2.6.3 (core)",
"deploy-retrieve 1.20.0 (core)",
"info 3.0.1 (core)",
"limits 3.0.1 (core)",
"login 2.0.1 (core)",
"marketplace 1.0.2 (core)",
"org 2.11.8 (core)",
"packaging 1.27.1 (user)",
"schema 3.0.1 (core)",
"settings 2.0.2 (core)",
"sobject 0.2.15 (core)",
"source 2.11.0 (core)",
"telemetry 3.1.0 (core)",
"templates 55.5.18 (core)",
"trust 3.0.2 (core)",
"user 2.3.42 (core)",
"sfdx-git-delta 5.30.0 (user)",
"sfpowerkit 6.1.0 (user)"
]
}
```
### Additional Information
- Same issue for sandbox and production environment.
- The xml file is deployable and updates the permission properly when you manually add the `ManagePackageLicenses` in the xml.
```
true
ManagePackageLicenses
```
- CLI Version: @salesforce/cli/2.6.9 darwin-arm64 node-v18.15.0
Contributor guide
Assessment
This issue has not been assessed yet.