Commit 6d1293a3 authored by Alex Kalderimis's avatar Alex Kalderimis

Do not require declarative_policy

parent cb9173ef
# frozen_string_literal: true
require_dependency 'declarative_policy'
class Ability
class << self
# Given a list of users and a project this method returns the users that can
......
# frozen_string_literal: true
require_dependency 'declarative_policy'
class BasePolicy < DeclarativePolicy::Base
desc "User is an instance admin"
with_options scope: :user, score: 0
......
# frozen_string_literal: true
require_dependency 'declarative_policy'
module API
class ProjectMirror < ::API::Base
feature_category :continuous_integration
......
# frozen_string_literal: true
require_dependency 'declarative_policy'
module API
class Projects < ::API::Base
include PaginationParams
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment