BigW Consortium Gitlab

Commit 37011af0 by Douwe Maan

Merge branch 'bugfix/declarative-policy-reloading' into 'master'

bugfix: use `require_dependency` to bring in DeclarativePolicy Closes #34532 See merge request !12571
parents 6205e457 7765dd6a
require 'declarative_policy'
require_dependency 'declarative_policy'
class Ability
class << self
......
require 'declarative_policy'
require_dependency 'declarative_policy'
class BasePolicy < DeclarativePolicy::Base
desc "User is an instance admin"
......
require 'declarative_policy'
require_dependency 'declarative_policy'
module API
# Projects API
......
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