Allowing any user to add tag again
This commit is contained in:
parent
7f90ace546
commit
5cb29f56f8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user