chore: Cleanup feature flags (#6096)

- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
This commit is contained in:
Pranav Raj S
2022-12-19 09:08:30 -08:00
committed by GitHub
parent ca88eb55f4
commit 2dfe38ae4d
14 changed files with 99 additions and 15 deletions

View File

@@ -16,6 +16,7 @@ json.custom_attributes resource.custom_attributes if resource.custom_attributes.
json.role resource.active_account_user&.role
json.ui_settings resource.ui_settings
json.uid resource.uid
json.type resource.type
json.accounts do
json.array! resource.account_users do |account_user|
json.id account_user.account_id