Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
add log line when owner attempts token update (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoWen authored Jan 25, 2023
1 parent 348f71e commit 3140e39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions waiter/src/waiter/token_validator.clj
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
existing-editor
(authz/run-as? entitlement-manager authenticated-user existing-editor))]

(when current-owner?
(log/info "applying owner privileges to operation" {:authenticated-user authenticated-user :owner existing-owner}))
(when editing?
(log/info "applying editor privileges to operation" {:editor authenticated-user :owner existing-owner})
(let [existing-token-parameters (sd/token->token-parameters kv-store token :include-deleted false)]
Expand Down

0 comments on commit 3140e39

Please sign in to comment.