Sha256: 4a34e2d63576d1f12ab5bcd6b08dc5a3c7f42e8abbb536291ff84eba177f8ff6
Contents?: true
Size: 315 Bytes
Versions: 25
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true # Policy for Permission model class PermissionPolicy < ControllerPolicy attr_reader :user, :objects def initialize(user, objects) @user = user @objects = objects end def clone? false end def add? true end def toggle_permissions? true end end
Version data entries
25 entries across 24 versions & 1 rubygems