Koji policies

ed_pollard at us.ibm.com ed_pollard at us.ibm.com
Tue Oct 26 23:16:57 UTC 2010


buildsys-bounces at lists.fedoraproject.org wrote on 10/25/2010 05:08:31 PM:

> From: ed_pollard at us.ibm.com
> To: Discussion of Fedora build system <buildsys at lists.fedoraproject.org>
> Date: 10/25/2010 05:08 PM
> Subject: Re: Koji policies
> Sent by: buildsys-bounces at lists.fedoraproject.org
> 
> 
> > On 10/25/2010 03:39 PM, ed_pollard at us.ibm.com wrote:
> > > I am attempting to setup koji in a test environment and would like 
to
> > > allow users to add packages to tags without having admin rights. I 
found
> > > http://fedoraproject.org/wiki/Koji/Policies
> > > but have been unable to configure a policy for my purposes. Any help 
would
> > > be greatly appreciated.
> > 
> > I have updated the wiki page with information on the newer policies. 
The 
> > package_list policy should do what you want.
> 
> Thanks for the updated doc, that looks like it will do what I need 
> but when I attempted to use the new policy here is what I see 
> 
> this is koji 1.4.0 
> 
> $> koji add-pkg ed1 --owner=user2 gcc 
> ActionNotAllowed: policy violation 
> $> 
> 
> the policy I am trying to use is defined in /etc/koji-hub/hub.conf as: 
> 
> [policy] 
> package_list = 
>         all :: allow 

I got this working, there were still some remains of an earlier koji 
install that used /etc/httpd/conf.d/kojihub.conf PythonOption lines
to configure koji and my hub.conf wasn't being read. package_list works as 
advertised. Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/buildsys/attachments/20101026/a13155e6/attachment.html 


More information about the buildsys mailing list