Restructure omni services and add Chatwoot research snapshot

This commit is contained in:
Ruslan Bakiev
2026-02-21 11:11:27 +07:00
parent edea7a0034
commit b73babbbf6
7732 changed files with 978203 additions and 32 deletions

View File

@@ -0,0 +1,53 @@
class ContactPolicy < ApplicationPolicy
def index?
true
end
def active?
true
end
def import?
@account_user.administrator?
end
def export?
@account_user.administrator?
end
def search?
true
end
def filter?
true
end
def update?
true
end
def contactable_inboxes?
true
end
def destroy_custom_attributes?
true
end
def show?
true
end
def create?
true
end
def avatar?
true
end
def destroy?
@account_user.administrator?
end
end