Add admin ability to remove an user's header image (#9495)
* Fix markup in admin/accounts/:id table for avatar * Add admin ability to remove an user's header image
This commit is contained in:
@ -33,6 +33,10 @@ class AccountPolicy < ApplicationPolicy
|
||||
staff?
|
||||
end
|
||||
|
||||
def remove_header?
|
||||
staff?
|
||||
end
|
||||
|
||||
def subscribe?
|
||||
admin?
|
||||
end
|
||||
|
Reference in New Issue
Block a user