Sha256: a838ae55b1899c1abff57702a4e898b248a75acaa5a0887f1af03cd02f10c538

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

Params: #{params.inspect}
- permissions = Models::User.current.effective_permissions.select{|op, perm| perm}.collect{|op, perm| op}.join(', ')
- if permissions.present?
  %br
  Permissions: #{permissions}
- if @model and Models::User.current.owner?(@model)
  - opermissions = Models::User.current.effective_permissions_as_owner.to_a.select{|op, perm| perm}.collect{|op, perm| op}.join(', ')
  - if opermissions.present?
    %br
    Permissions as Owner: #{}

- if @debug
  %p= @debug

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_kit-0.0.10 app/views/kit/_debug.html.haml