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-0.11.0 app/tables/permission_table.rb
adeia-0.10.5 app/tables/permission_table.rb
adeia-0.10.4 app/tables/permission_table.rb
adeia-0.10.3 app/tables/permission_table.rb
adeia-0.10.2 app/tables/permission_table.rb
adeia-0.10.1 app/tables/permission_table.rb
adeia-0.10.0 app/tables/permission_table.rb
adeia-0.9.2 app/tables/permission_table.rb
adeia-0.9.1 app/tables/permission_table.rb
adeia-0.9.0 app/tables/permission_table.rb
adeia-0.8.6 app/tables/permission_table.rb
adeia-0.8.5 app/tables/permission_table.rb
adeia-0.8.4 app/tables/permission_table.rb
adeia-0.8.3 app/tables/permission_table.rb
adeia-0.8.2 app/tables/permission_table.rb
adeia-0.8.1 app/tables/permission_table.rb
adeia-0.8.0 app/tables/permission_table.rb
adeia-0.7.1 app/tables/permission_table.rb
adeia-0.7.0 app/tables/permission_table.rb
adeia-0.6.2 app/tables/permission_table.rb