Skip to content

Commit

Permalink
Update hub policy
Browse files Browse the repository at this point in the history
  • Loading branch information
kwizart committed Jul 6, 2016
1 parent 0f1f9f9 commit da213bb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions roles/koji_hub/templates/hub.conf.j2
Expand Up @@ -70,25 +70,29 @@ DisableNotifications = False
{% if inventory_hostname.startswith('koji') %}
[policy]


tag =
has_perm secure-boot && package kernel shim grub2 fedora-release fedora-repos pesign :: allow
package kernel shim grub2 fedora-release fedora-repos pesign :: deny
all :: allow
has_perm admin :: allow
tag *-candidate :: allow
tag *-free :: allow
tag *-nonfree :: allow
all :: deny

channel =
method createrepo :: use createrepo
has req_channel :: req
is_child_task :: parent
#make sure all scratch builds are disabled
method build && bool scratch :: use default

all :: use default



build_from_srpm =
has_perm admin :: allow
all :: deny

build_from_repo_id=
has_perm admin :: allow
all :: deny

{% endif %}

0 comments on commit da213bb

Please sign in to comment.