Permissions to run chef push policy_group policy_name

#1

I want to push a new version of a policyfile to the Chef server.

With an admin user I can do it. But, what are the permissions a normal user (or client) need to do so?

This is what I get when I run run chef push rehearsal <policy_name> with a normal user:

Error: Failed to upload policy to policy group rehearsal
Reason: (Net::HTTPServerException) HTTP 403 Forbidden: missing update permission```

Thank you very much for your help!
0 Likes

#2

I could solve this thanks to the support I received from https://chefcommunity.slack.com/messages/C2VACTK2A/

Basically, I needed to give the user (or client) permission to write on policies, policy_groups, cookbook_artifacts containers.

0 Likes