Sha256: 57364259a5ae9a1b659ac1fafefff8b156ad3ca90a463ccc398fcaa92ec8c5a2

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Asset policy
  #
  class AssetPolicy < ApplicationPolicy
    ##
    # Check if `#wysiwyg` action is authorized for current user.
    #
    # @return [Boolean] true for all roles
    #
    def wysiwyg?
      true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
archangel-0.4.0 app/policies/archangel/asset_policy.rb
archangel-0.3.0 app/policies/archangel/asset_policy.rb
archangel-0.0.8 app/policies/archangel/asset_policy.rb
archangel-0.0.7 app/policies/archangel/asset_policy.rb