Sha256: d9a5f61733e4d8e3eb6982c595b6837da8e7563e8556bae22c082b0711e52dcc

Contents?: true

Size: 416 Bytes

Versions: 51

Compression:

Stored size: 416 Bytes

Contents

class PermissionTable < BaseTable

  def model
    Adeia::Permission
  end

  def attributes
    [:id, :permission_type, { element: :name }, { owner: :name }, :read_right, :create_right, :update_right, :destroy_right, :resource_id, :actions, :created_at, :updated_at]
  end

  module Search

    def self.associations
      [:element]
    end

    def self.fields
      { adeia_elements: [:name] }
    end
  end

end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
adeia-1.0.0 app/tables/permission_table.rb
adeia-0.15.4 app/tables/permission_table.rb
adeia-0.15.3 app/tables/permission_table.rb
adeia-0.15.2 app/tables/permission_table.rb
adeia-0.15.1 app/tables/permission_table.rb
adeia-0.15.0 app/tables/permission_table.rb
adeia-0.14.0 app/tables/permission_table.rb
adeia-0.13.1 app/tables/permission_table.rb
adeia-0.13.0 app/tables/permission_table.rb
adeia-0.12.0 app/tables/permission_table.rb
adeia-0.11.11 app/tables/permission_table.rb
adeia-0.11.10 app/tables/permission_table.rb
adeia-0.11.9 app/tables/permission_table.rb
adeia-0.11.8 app/tables/permission_table.rb
adeia-0.11.7 app/tables/permission_table.rb
adeia-0.11.6 app/tables/permission_table.rb
adeia-0.11.5 app/tables/permission_table.rb
adeia-0.11.4 app/tables/permission_table.rb
adeia-0.11.3 app/tables/permission_table.rb
adeia-0.11.2 app/tables/permission_table.rb