Sha256: 6969d4e777d7896e40e78d8cce9c2729ee36cec633587a06cc63d77159202147
Contents?: true
Size: 425 Bytes
Versions: 57
Compression:
Stored size: 425 Bytes
Contents
module Cmor module Rbac module Backend class PermissionsController < Cmor::Core::Backend::ResourcesController::Base def self.resource_class Cmor::Rbac::Permission end private def permitted_params params.require(:permission).reject! { |k,v| k == 'user_ids' }.permit(:identifier, :enabled_from, :enabled_to, role_ids: []) end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems