Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Policy : delete permission ? (http://www.linux-archive.org/fedora-build-system/690179-policy-delete-permission.html)

Thomas Guthmann 08-03-2012 06:48 AM

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

Mike McLean 08-03-2012 03:34 PM

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


All times are GMT. The time now is 04:35 PM.

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