diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 1d511184e..5e9696fac 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -9,7 +9,7 @@ {% include 'snippets/book_titleby.html' with book=book %} - {% if request.user.is_authenticated %} + {% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
edit diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 829f781eb..ab5b06151 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -70,12 +70,14 @@ Settings - - Invites - Import books + {% if perms.bookwyrm.create_invites %} + + Invites + + {% endif %} Log out