Class: PermissionTable

Inherits:
BaseTable
  • Object
show all
Defined in:
app/tables/permission_table.rb

Defined Under Namespace

Modules: Search

Instance Method Summary collapse

Instance Method Details

#attributesObject



7
8
9
# File 'app/tables/permission_table.rb', line 7

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

#modelObject



3
4
5
# File 'app/tables/permission_table.rb', line 3

def model
  Adeia::Permission
end