system:
  - name: super admin
    value: super_admin
    permits:
      - system.analysis.run_view.view
      - system.api_portal.api_portal.view
      - system.settings.account.manager
      - system.settings.account.view
      - system.settings.ai_api.manager
      - system.settings.ai_api.view
      - system.settings.ai_balance.view
      - system.settings.ai_balance.manager
      - system.settings.ai_key_resource.manager
      - system.settings.ai_key_resource.view
      - system.settings.ai_log.manager
      - system.settings.ai_log.view
      - system.settings.ai_provider.manager
      - system.settings.ai_provider.view
      - system.settings.api_gateway.manager
      - system.settings.api_gateway.view
      - system.settings.apikey.view
      - system.settings.apikey.manager
      - system.settings.data_source.manager
      - system.settings.data_source.view
      - system.settings.general.manager
      - system.settings.general.view
      - system.settings.log_configuration.manager
      - system.settings.log_configuration.view
      - system.settings.login.manager
      - system.settings.login.view
      - system.settings.mcp.view
      - system.settings.mcp.manager
      - system.settings.role.view
      - system.settings.ssl_certificate.manager
      - system.settings.ssl_certificate.view
      - system.settings.strategy.view
      - system.settings.strategy.manager
      - system.workspace.application.manager_all
      - system.workspace.application.view_all
      - system.workspace.service.manager_all
      - system.workspace.service.view_all
      - system.workspace.team.create
      - system.workspace.team.manager
      - system.workspace.team.view_all
    supper: true
  - name: team admin
    value: team_admin
    permits:
      - system.api_portal.api_portal.view
      - system.workspace.team.create
  - name: devops admin
    value: devops_admin
    permits:
      - system.analysis.run_view.view
      - system.api_portal.api_portal.view
      - system.settings.ai_api.manager
      - system.settings.ai_api.view
      - system.settings.ai_balance.view
      - system.settings.ai_balance.manager
      - system.settings.ai_key_resource.manager
      - system.settings.ai_key_resource.view
      - system.settings.ai_log.manager
      - system.settings.ai_log.view
      - system.settings.ai_provider.manager
      - system.settings.ai_provider.view
      - system.settings.api_gateway.manager
      - system.settings.api_gateway.view
      - system.settings.data_source.manager
      - system.settings.data_source.view
      - system.settings.general.manager
      - system.settings.general.view
      - system.settings.log_configuration.manager
      - system.settings.log_configuration.view
      - system.settings.login.manager
      - system.settings.login.view
      - system.settings.ssl_certificate.manager
      - system.settings.ssl_certificate.view
      - system.settings.strategy.view
      - system.settings.strategy.manager
      - system.workspace.application.view_all
      - system.workspace.service.view_all
      - system.workspace.team.view_all
  - name: general member
    value: member
    permits:
      - system.api_portal.api_portal.view
    default: true

team:
  - name: team admin
    value: team_admin
    permits:
      - team.consumer.authorization.manager
      - team.consumer.authorization.view
      - team.consumer.mcp.manager
      - team.consumer.mcp.view
      - team.consumer.subscription.manager_subscribed_services
      - team.consumer.subscription.subscribe
      - team.consumer.subscription.view_subscribed_service
      - team.service.api.manager
      - team.service.api.view
      - team.service.api_doc.manager
      - team.service.api_doc.view
      - team.service.release.manager
      - team.service.release.view
      - team.service.service_intro.manager
      - team.service.service_intro.view
      - team.service.strategy.view
      - team.service.strategy.manager
      - team.service.subscription.manager
      - team.service.subscription.view
      - team.service.upstream.manager
      - team.service.upstream.view
      - team.team.consumer.manager
      - team.team.consumer.view
      - team.team.member.manager
      - team.team.member.view
      - team.team.service.manager
      - team.team.service.view
      - team.team.team.manager
      - team.team.team.view
    supper: true
  - name: service admin
    value: service_admin
    permits:
      - team.service.api.manager
      - team.service.api.view
      - team.service.api_doc.manager
      - team.service.api_doc.view
      - team.service.release.manager
      - team.service.release.view
      - team.service.service_intro.manager
      - team.service.service_intro.view
      - team.service.strategy.view
      - team.service.strategy.manager
      - team.service.subscription.manager
      - team.service.subscription.view
      - team.service.upstream.manager
      - team.service.upstream.view
      - team.team.consumer.view
      - team.team.member.view
      - team.team.service.manager
      - team.team.service.view
      - team.team.team.view
  - name: service developer
    value: service_developer
    permits:
      - team.service.api.manager
      - team.service.api.view
      - team.service.api_doc.manager
      - team.service.api_doc.view
      - team.service.release.manager
      - team.service.release.view
      - team.service.service.manager
      - team.service.service_intro.manager
      - team.service.service_intro.view
      - team.service.strategy.view
      - team.service.subscription.view
      - team.service.upstream.manager
      - team.service.upstream.view
      - team.team.consumer.view
      - team.team.member.view
      - team.team.service.view
      - team.team.team.view
  - name: consumer admin
    value: consumer_admin
    permits:
      - team.consumer.authorization.manager
      - team.consumer.authorization.view
      - team.consumer.mcp.manager
      - team.consumer.mcp.view
      - team.consumer.subscription.manager_subscribed_services
      - team.consumer.subscription.subscribe
      - team.consumer.subscription.view_subscribed_service
      - team.team.consumer.manager
      - team.team.consumer.view
      - team.team.member.view
      - team.team.service.view
      - team.team.team.view
  - name: consumer developer
    value: consumer_developer
    permits:
      - team.consumer.authorization.manager
      - team.consumer.authorization.view
      - team.consumer.mcp.manager
      - team.consumer.mcp.view
      - team.consumer.subscription.subscribe
      - team.consumer.subscription.view_subscribed_service
      - team.team.consumer.view
      - team.team.member.view
      - team.team.service.view
      - team.team.team.view
    default: true
