Allowing any user to add tag again

This commit is contained in:
Jay McCarthy 2013-10-31 10:57:04 -06:00
parent 7f90ace546
commit 5cb29f56f8

View File

@ -279,9 +279,6 @@
(jsonp/package/tag/add (jsonp/package/tag/add
['pkg pkg] ['pkg pkg]
['tag tag]) ['tag tag])
(ensure-package-author
pkg
(λ ()
(cond (cond
[(valid-tag? tag) [(valid-tag? tag)
(define i (package-info pkg)) (define i (package-info pkg))
@ -291,7 +288,7 @@
(signal-static! (list pkg)) (signal-static! (list pkg))
#t] #t]
[else [else
#f])))) #f]))
(define-jsonp/auth (define-jsonp/auth
(jsonp/package/tag/del (jsonp/package/tag/del