chef / chef-server

Chef Infra Server is a hub for configuration data; storing cookbooks, node policies and metadata of managed nodes.
https://www.chef.io/chef/
Apache License 2.0
290 stars 210 forks source link

There is no way to authorize user to oc-id app using CLI #1604

Open voroniys opened 5 years ago

voroniys commented 5 years ago

Describe the Enhancement:

Add to chef-server-ctl command to authorize user to use oc-id application, for instance:

chef-server-ctl user-authorize-app myuser supermarket

Describe the Need:

When adding a new organization/user to chef server I'd like to immediately authorize this user to private supermarket. This feature is really needed to anyone who is using private supermarket and wants to automate provisioning to avoid manual steps.

Current Alternative

At the moment there is no alternative/workaround. If I add a new organization and user the user can't be used directly for sharing cookbook to supermarket, so the one shot automated provisioning is not possible. Each time after user is created I have to deploy windows instance to go to supermarket in browser, log in with the new user and authorize supermarket for the user.

Can We Help You Implement This?:

yes if you provide me all necessary information what and where should happen to authorize user for app.

PrajaktaPurohit commented 5 years ago

Hey @voroniys apologies for the delay in triaging this issue. Would you be interested in contributing a pull request for this? We would be very happy to take a look at it and incorporate it into the Chef Infra Server. Feel free to reach out if you need any help! Thank you!

voroniys commented 5 years ago

Sorry, I'm not that familiar with chef-server-ctl code to provide a solution for this issue.