Skip to content

Commit

Permalink
Merge pull request #10407 from PredictiveManish/librarian-issue
Browse files Browse the repository at this point in the history
Added Librarian as privileged user
  • Loading branch information
mekarpeles authored Jan 30, 2025
2 parents 2bf820e + ebe98ee commit 5cb7be2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openlibrary/templates/lib/nav_head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$def with (page)
$ is_privileged_user = ctx.user and (ctx.user.is_admin() or ctx.user.is_super_librarian())

$ is_librarian = ctx.user and ctx.user.is_librarian()
$ is_privileged_user = ctx.user and (ctx.user.is_admin() or ctx.user.is_super_librarian() or ctx.user.is_librarian())
<header id="header-bar" class="header-bar">


Expand Down

0 comments on commit 5cb7be2

Please sign in to comment.