Sha256: eae9825ba02ebe3090ac8024cc175c42e07bbf5a1ab8151ed0cc20ead289bd88
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
module Ecm module Rbac module Backend class PermissionsController < Itsf::Backend::Resource::BaseController include ResourcesController::Sorting def self.resource_class Ecm::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
3 entries across 3 versions & 1 rubygems