Skip to content

Commit 7fc1b08

Browse files
committed
Make sure studio can mark a production as recorded
This should have been part of 6304a8f. But unfortunately that commit only deals with the client side auth and forgot about the server side auth.
1 parent b3c09e4 commit 7fc1b08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/clj/mdr2/routes/services.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
{:post {:summary "Mark a production as recorded, i.e. ready to be encoded"
196196
:middleware [wrap-restricted wrap-authorized]
197197
:swagger {:security [{:apiAuth []}]}
198-
:authorized #{:admin :it}
198+
:authorized #{:admin :studio :it}
199199
:parameters {:path {:id int?}}
200200
:handler (fn [{{{:keys [id]} :path} :parameters
201201
{user :user} :identity}]

0 commit comments

Comments
 (0)