already had that one

This commit is contained in:
byte[] 2019-12-14 16:27:06 -05:00
parent 7a1cc312f3
commit 05c427e013

View file

@ -64,7 +64,6 @@ defimpl Canada.Can, for: [Atom, Philomena.Users.User] do
# Reveal anon users # Reveal anon users
def can?(%User{role: "moderator"}, :reveal_anon, _object), do: true def can?(%User{role: "moderator"}, :reveal_anon, _object), do: true
def can?(%User{role: "moderator"}, :show, :ip_address), do: true
# Edit posts and comments # Edit posts and comments
def can?(%User{role: "moderator"}, :edit, %Post{}), do: true def can?(%User{role: "moderator"}, :edit, %Post{}), do: true