chore: Endpoint to purge portal logo (#8365)

This commit is contained in:
Sojan Jose
2023-11-17 11:43:22 -08:00
committed by GitHub
parent 04dd65687b
commit 0e19a4196b
4 changed files with 43 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ class PortalPolicy < ApplicationPolicy
@account_user.administrator?
end
def logo?
@account_user.administrator?
end
private
def portal_member?