chore: Adds API for agent bot avatar upload (#8533)

Adds API for agent bot avatar upload
- accounts/agent_bot
- platform/agent_bot
This commit is contained in:
Sojan Jose
2023-12-11 19:02:11 -08:00
committed by GitHub
parent 890515edfd
commit 376de685fb
9 changed files with 138 additions and 11 deletions

View File

@@ -18,4 +18,8 @@ class AgentBotPolicy < ApplicationPolicy
def destroy?
@account_user.administrator?
end
def avatar?
@account_user.administrator?
end
end