Module: ReadonlyAbilities

Extended by:
ActiveSupport::Concern
Included in:
ProjectPolicy
Defined in:
app/policies/concerns/readonly_abilities.rb

Constant Summary collapse

READONLY_ABILITIES =
%i[
  admin_tag
  push_code
  push_to_delete_protected_branch
  request_access
  upload_file
  resolve_note
  create_merge_request_from
  create_merge_request_in
  award_emoji
].freeze
READONLY_FEATURES =
%i[
  issue
  list
  merge_request
  label
  milestone
  snippet
  wiki
  design
  note
  pipeline
  pipeline_schedule
  build
  trigger
  environment
  deployment
  commit_status
  container_image
  pages
  cluster
  release
].freeze