datawire / datawire-cli

Datawire Cloud tools and utilities
1 stars 0 forks source link

Odd error message when user without create service privs tries to create a service #22

Closed janicedatawire closed 8 years ago

janicedatawire commented 8 years ago

I sent an invite with the --no-svc flag set and then accepted the invitation. I then tried to create a service with that user and got the following:

dwc create-service service1
Creating service service1 in H3PSFJ7NZ2...
failure: You haven't created any services in this org!

This error message is a bit jarring - I would expect it when trying to use service-token rather than trying to create a service. We should just tell the user they do not have the right to create services so they stop trying/know what's happening.