Hi all! I'm attempting to dole out the ability for ops teams to force a puppet run on a host via the Foreman API [1]. Currently this is in Foreman v1.10 (we have upgrade plans in motion but for now it is what it is). I've added the puppetrun_hosts permission (found under the Host/managed resource) to the user's role. However when issuing a PUT against the .../puppetrun endpoint, I get back "access denied". The production log shows that I successfully authenticated as the user, but no details as to why the call was denied. I don't see any other permissions that sound like they would provide the permissions needed. Any help?
On a side note, it would be helpful in the API documentation if the associated permission(s) were listed for a given endpoint... Thanks, -Chris 1. https://theforeman.org/api/1.10/apidoc/v2/hosts/puppetrun.html -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
