defmodule Rbac.Roles.Admin do
  def role do
    %{
      id: "54d0e034-a77f-466b-8e49-819e94e8a2e1",
      name: "Admin",
      description:
        "Admins can modify settings within the organization or any of its projects. However, they cannot change general organization details, such as the organization name and URL.",
      permissions: [
        "organization.activity_monitor.view",
        "organization.change_owner",
        "organization.custom_roles.view",
        "organization.dashboards.manage",
        "organization.dashboards.view",
        "organization.delete",
        "organization.general_settings.manage",
        "organization.general_settings.view",
        "organization.instance_git_integration.manage",
        "organization.notifications.manage",
        "organization.notifications.view",
        "organization.people.invite",
        "organization.people.manage",
        "organization.people.view",
        "organization.pre_flight_checks.manage",
        "organization.pre_flight_checks.view",
        "organization.projects.create",
        "organization.secrets.manage",
        "organization.secrets.view",
        "organization.self_hosted_agents.manage",
        "organization.self_hosted_agents.view",
        "organization.service_accounts.view",
        "organization.service_accounts.manage",
        "organization.view",
        "project.access.manage",
        "project.access.view",
        "project.artifacts.delete",
        "project.artifacts.modify_settings",
        "project.artifacts.view",
        "project.artifacts.view_settings",
        "project.delete",
        "project.general_settings.manage",
        "project.general_settings.view",
        "project.job.attach",
        "project.job.rerun",
        "project.job.stop",
        "project.notifications.manage",
        "project.notifications.view",
        "project.repository_info.manage",
        "project.repository_info.view",
        "project.scheduler.manage",
        "project.scheduler.run_manually",
        "project.scheduler.view",
        "project.secrets.manage",
        "project.secrets.view",
        "project.view",
        "project.workflow.manage"
      ]
    }
  end
end
