sf org create user
does not roll back on error if permset mentioned in definition file is non-existent
#2886
RupertBarrow
started this conversation in
Ideas
Replies: 2 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. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @RupertBarrow, I am going to convert this to a discussion. If folks have scripted around scenarios like this, it would be a change in behavior. This reminds me of a similar scenario with Scratch Org creation here: #202 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
When I run the command
sf org create user
with a --definition-file
parameter which points to a non-existent permission set, the user is created and returns an error. It should not create the user.Steps To Reproduce
config.json
file with contents :myscratchorg
sf org create user --target-org myscratchorg --definition-file config.json
Expected result
An error should be returned, and the user should not be created
Actual result
We get a "partial success" :
System Information
Additional information
Beta Was this translation helpful? Give feedback.
All reactions