allow setting tag permission to none in webui (ticket#219)
This commit is contained in:
parent
5f96a7a2cf
commit
c06f97c181
1 changed files with 3 additions and 1 deletions
|
|
@ -970,7 +970,9 @@ def tagedit(environ, tagID):
|
|||
params['arches'] = form['arches'].value
|
||||
params['locked'] = bool(form.has_key('locked'))
|
||||
permission = form['permission'].value
|
||||
if permission != 'none':
|
||||
if permission == 'none':
|
||||
params['perm'] = None
|
||||
else:
|
||||
params['perm'] = int(permission)
|
||||
if mavenEnabled:
|
||||
params['maven_support'] = bool(form.has_key('maven_support'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue