Skip to content

Commit

Permalink
Don't plagarize
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed Dec 18, 2024
1 parent 8fca27d commit d607c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/lrsql/util/auth.clj
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@
[hierarchy scope]
(cset/union #{scope} (ancestors hierarchy scope)))

;; Reference to `apply min-key` solution: https://stackoverflow.com/a/34934286
(defn- get-most-permissive-scope
"Return the most permissive scope in `scopes` for `hierarchy`, or
`nil` when `scopes` is empty."

0 comments on commit d607c42

Please sign in to comment.