debian-mirror-gitlab/app/policies/timebox_policy.rb

11 lines
240 B
Ruby
Raw Normal View History

2021-02-22 17:27:13 +05:30
# 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