janl commented on code in PR #5558:
URL: https://github.com/apache/couchdb/pull/5558#discussion_r2158773631
##########
src/couch/src/couch_db.erl:
##########
@@ -796,6 +807,10 @@ set_security(_, _) ->
set_user_ctx(#db{} = Db, UserCtx) ->
{ok, Db#db{user_ctx = UserCtx}}.
+set_drop_seq(#db{main_pid = Pid} = Db, UuidPrefix, DropSeq) ->
+ check_is_admin(Db),
Review Comment:
does this inherit its user context from the _calculate_drop_seq HTTP API
call? Do we need to adjust this if get here via ken?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]