-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
W-15805907: assign_permission_set_licenses accepts the api_names in e…
…ither developerName or the PermissionSetLicenseKey (#3798) To handle the compatibility issues and ensure smooth functionality for both `get_available_permission_set_licenses` and `assign_permission_set_licenses`, you can make the following adjustments: 1. **Revert `get_available_permission_set_licenses` to Return `PermissionSetLicenseKey`:** - This will maintain backward compatibility. 2. **Update `assign_permission_set_licenses` to Accept Both `DeveloperName` and `PermissionSetLicenseKey`:** - Modify the function to handle input as either `DeveloperName` or `PermissionSetLicenseKey`, ensuring it can correctly interpret and process both formats. This adjustment will resolve issues with names like `alpha.beta` where the `DeveloperName` is `alpha_beta`. Accepts api_name as `alpha_beta` or `alpha.beta` and assigns them correctly --------- Co-authored-by: James Estevez <[email protected]>
- Loading branch information
1 parent
2f8a94e
commit 8da8c67
Showing
4 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters