debian-mirror-gitlab/app/policies/timebox_policy.rb
2021-02-22 17:27:13 +05:30

10 lines
240 B
Ruby

# frozen_string_literal: true
class TimeboxPolicy < BasePolicy
# stub permissions policy on None, Any, Upcoming, Started and Current timeboxes
rule { default }.policy do
enable :read_iteration
enable :read_milestone
end
end