Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Koji policies (http://www.linux-archive.org/fedora-build-system/444196-koji-policies.html)

10-25-2010 10:08 PM

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

10-26-2010 11:16 PM

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


All times are GMT. The time now is 02:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.