Sha256: fa7f6fead8e83b4dd64fc2b0a99a963574fadb192c7a8596ecf63c8e4eda6e07

Contents?: true

Size: 385 Bytes

Versions: 11

Compression:

Stored size: 385 Bytes

Contents

module Ecm
  module Rbac
    module Backend
      class RolesController < Itsf::Backend::Resource::BaseController
        def self.resource_class
          Ecm::Rbac::Role
        end

        private

        def permitted_params
          params.require(:role).permit(:identifier, :enabled_from, :enabled_to, permission_ids: [], user_ids: [])
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ecm_rbac_backend-1.0.0 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.11 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.10 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.9 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.8 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.7 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.6 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.5 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.4 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.3 app/controllers/ecm/rbac/backend/roles_controller.rb
ecm_rbac_backend-0.0.2 app/controllers/ecm/rbac/backend/roles_controller.rb