FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 10-25-2010, 10:08 PM
 
Default Koji policies

> On 10/25/2010 03:39 PM, ed_pollard@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



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 10-26-2010, 11:16 PM
 
Default Koji policies

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



> From: ed_pollard@us.ibm.com

> To: Discussion of Fedora build
system <buildsys@lists.fedoraproject.org>

> Date: 10/25/2010 05:08 PM

> Subject: Re: Koji policies

> Sent by: buildsys-bounces@lists.fedoraproject.org

>

>

> > On 10/25/2010 03:39 PM, ed_pollard@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.

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 12:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org