Files
leadchat/config/features.yml
Shivam Mishra 161024db9d feat: Add visibility checks for installation types (#10773)
This pull request includes multiple changes to the sidebar and route
metas to configure visibility of features on the dashboard.

Here's a summary of the changes

1. Added `installationTypes`, field to routes `meta`, this works along
side `permissions` and `featureFlags`
This allows us to decide weather a particular feature is accessible on a
particular type. For instance, the Billing pages should only be
available on Cloud
2. Updated `usePolicy` and `policy.vue` to use the new
`installationTypes` config
3. Updated Sidebar related components to remove `showOnlyOnCloud` to use
the new policy updates.

Testing the PR

Here's the matrix of cases:
https://docs.google.com/spreadsheets/d/15AAJntJZoyudaby77BOnRcC4435FGuT7PXbUXoTyU50/edit?usp=sharing

---------

Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav <pranavrajs@gmail.com>
2025-02-21 14:48:31 -08:00

108 lines
2.4 KiB
YAML

# DO NOT change the order of features EVER
- name: inbound_emails
enabled: true
- name: channel_email
enabled: true
help_url: https://chwt.app/hc/email
- name: channel_facebook
enabled: true
help_url: https://chwt.app/hc/fb
- name: channel_twitter
enabled: true
- name: ip_lookup
enabled: false
- name: disable_branding
enabled: false
premium: true
- name: email_continuity_on_api_channel
enabled: false
- name: help_center
enabled: true
help_url: https://chwt.app/hc/help-center
- name: agent_bots
enabled: false
help_url: https://chwt.app/hc/agent-bots
- name: macros
enabled: true
- name: agent_management
enabled: true
- name: team_management
enabled: true
help_url: https://chwt.app/hc/teams
- name: inbox_management
enabled: true
- name: labels
enabled: true
help_url: https://chwt.app/hc/labels
- name: custom_attributes
enabled: true
help_url: https://chwt.app/hc/custom-attributes
- name: automations
enabled: true
- name: canned_responses
enabled: true
help_url: https://chwt.app/hc/canned
- name: integrations
enabled: true
help_url: https://chwt.app/hc/integrations
- name: voice_recorder
enabled: true
- name: mobile_v2
enabled: false
- name: channel_website
enabled: true
- name: campaigns
enabled: true
help_url: https://chwt.app/hc/campaigns
- name: reports
enabled: true
help_url: https://chwt.app/hc/reports
- name: crm
enabled: true
- name: auto_resolve_conversations
enabled: true
- name: custom_reply_email
enabled: false
- name: custom_reply_domain
enabled: false
- name: audit_logs
enabled: false
premium: true
- name: response_bot
enabled: false
premium: true
chatwoot_internal: true
- name: message_reply_to
enabled: false
help_url: https://chwt.app/hc/reply-to
chatwoot_internal: true
- name: insert_article_in_reply
enabled: false
chatwoot_internal: true
- name: inbox_view
enabled: false
chatwoot_internal: true
- name: sla
enabled: false
premium: true
help_url: https://chwt.app/hc/sla
- name: help_center_embedding_search
enabled: false
premium: true
chatwoot_internal: true
- name: linear_integration
enabled: false
- name: captain_integration
enabled: false
premium: true
- name: custom_roles
enabled: false
premium: true
- name: chatwoot_v4
enabled: false
- name: report_v4
enabled: false
- name: contact_chatwoot_support_team
enabled: true
chatwoot_internal: true