Sha256: b4e4031730bce7d7db7c49274ef1d9218ec60ec57022b7d7557c8672bbb7c089
Contents?: true
Size: 383 Bytes
Versions: 81
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true module Decidim module Sortitions class Permissions < Decidim::DefaultPermissions def permissions return permission_action unless user return Decidim::Sortitions::Admin::Permissions.new(user, permission_action, context).permissions if permission_action.scope == :admin permission_action end end end end
Version data entries
81 entries across 81 versions & 1 rubygems