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

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 08-03-2012, 06:48 AM
Thomas Guthmann
 
Default Policy : delete permission ?

Hi,

I would like to have confirmation that only admin can delete a NVR. I
read http://fedoraproject.org/wiki/Koji/Policies and it's not clearly
detailed except when you say "only admins may modify package lists".


Ideally I'd like my users to be able to untag and delete a faulty build
from a tag so I don't have to do it But obviously I don't want them
to be an admin.


Thomas
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 08-03-2012, 03:34 PM
Mike McLean
 
Default Policy : delete permission ?

On 08/03/2012 02:48 AM, Thomas Guthmann wrote:

I would like to have confirmation that only admin can delete a NVR. I
read http://fedoraproject.org/wiki/Koji/Policies and it's not clearly
detailed except when you say "only admins may modify package lists".

Ideally I'd like my users to be able to untag and delete a faulty build
from a tag so I don't have to do it But obviously I don't want them
to be an admin.


Strictly speaking, an NVR cannot be deleted. You can delete a /build/,
but this only marks the build as deleted and removes the files and some
metadata. The NVR entry persists. Note, this means that NVRs cannot be
reused.


Not every action in Koji is governed by policy. Deleting builds is hard
coded to require the admin permission. I'm not in a hurry to change
that. Even admins should not really be deleting builds manually except
in special circumstances.


Normally, builds should only be deleted by koji-gc. If a user wants a
build to be deleted, they should ensure it is untagged. The gc will
eventually take care of the rest (as long as the build is really
eligible for deletion).


Further reading: https://fedoraproject.org/wiki/Koji/GarbageCollection
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 11:17 AM.

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