-
Notifications
You must be signed in to change notification settings - Fork 78
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
force:user:permset:assign fails on 7.84.2 #802
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
@jcory we are trying to identify why the core plugin did not get updated. Until we are able to patch, you can run |
Another related issue I have seen with Same version. 7.84.2 EX:
I switched back to |
This issue has been linked to a new work item: W-8730330 |
It should be tracked under @W-8716914@ |
Please see #811 - we will make sure this is addressed in the next release. |
I think we can use another workaround without having to install any plugin. Just create a file scripts/apex/assignCurrentUser.apex with a code PermissionSet ps = [SELECT Id FROM PermissionSet WHERE Name = 'PermName']; for (Id uid: new List{UserInfo.getUserId()}) { code=$(cat scripts/apex/assignCurrentUser.apex) ./assignCurrentUser.sh PermissionSetName |
Hi this is really blocking however the workaround works well @bdovh thanks |
this is fixed in the |
Summary
The permission set assignment command fails on the latest version of the CLI.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
sfdx force:user:permset:assign -n dreamhouse
Expected result
The permission set is assigned to the default user.
Actual result
The command fails with the error
Permission set "d" not found in target org. Do you need to push source?
Additional information
I noticed this in a separate repository, and used Dreamhouse for simplicity/replication's sake.
SFDX CLI Version:
sfdx-cli/7.84.2-a2868a68d5 darwin-x64 node-v12.18.3
SFDX plugin Version:
7.84.2
OS and version:
macOS Big Sur (v11.1)
Tracked under @W-8716914@
The text was updated successfully, but these errors were encountered: