feat: Manage platform apps from Super Admin (#2129)
- ability to manage platform apps from super admin - fixes #2021
This commit is contained in:
@@ -57,8 +57,8 @@ class AccessTokenDashboard < Administrate::BaseDashboard
|
||||
# }.freeze
|
||||
COLLECTION_FILTERS = {
|
||||
user: ->(resources) { resources.where(owner_type: 'User') },
|
||||
super_admin: ->(resources) { resources.where(owner_type: 'SuperAdmin') },
|
||||
agent_bot: ->(resources) { resources.where(owner_type: 'AgentBot') }
|
||||
agent_bot: ->(resources) { resources.where(owner_type: 'AgentBot') },
|
||||
platform_app: ->(resources) { resources.where(owner_type: 'PlatformApp') }
|
||||
}.freeze
|
||||
|
||||
# Overwrite this method to customize how access tokens are displayed
|
||||
|
||||
Reference in New Issue
Block a user