Sha256: 302941a535728711363e5b90a567fe3c9b45ba8e9653c7f478bea468b4bcbda2

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

module Aegis
  module Constants
    EVERYONE_ROLE_NAME = :everyone
    PERMISSION_PREFIX = I18n.translate('aegis.permission.prefix',:default => 'may') 
    ADMIN_PREFIX = I18n.translate('aegis.permission.admin', :default => 'admin')
    CRUD_VERBS = [I18n.translate('aegis.permission.create', :default => 'create'),
      I18n.translate('aegis.permission.read', :default => 'read'),
      I18n.translate('aegis.permission.update', :default => 'update'),
      I18n.translate('aegis.permission.destroy', :default => 'destroy')]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thelinuxlich-aegis-1.1.9 lib/aegis/constants.rb
thelinuxlich-aegis-1.1.8 lib/aegis/constants.rb