Sha256: ab9c4cea4c3f38ab30c15afe50aa890c93d1e1c7a59ca1b129ddc129775bd7fe
Contents?: true
Size: 297 Bytes
Versions: 25
Compression:
Stored size: 297 Bytes
Contents
# frozen_string_literal: true # Register koi admin roles with flipper for easy toggling return unless Object.const_defined?("Flipper") Flipper.register(:admins) do |flipper, _context| flipper.actor.is_a?(Admin::User) && !flipper.actor.archived? Admin::User.include(Flipper::Identifier) end
Version data entries
25 entries across 25 versions & 1 rubygems