Sha256: b5a19e9e92787cd77c2c7589e376e417ac5613cd492c275e812989d6969c21a3

Contents?: true

Size: 227 Bytes

Versions: 28

Compression:

Stored size: 227 Bytes

Contents

class <%= config[:migration_title] %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    <%= config[:policy_name].camelize %>Role.create permission: '<%= config[:permission] %>'
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
eucalypt-0.8.0 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.7.2 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.7.1 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.7.0 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.6.2 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.6.1 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.6.0 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.5.4 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.5.3 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.5.2 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.5.1 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.5.0 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.4.2 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.4.1 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.4.0 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.3.5 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.3.4 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.3.3 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.3.2 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt
eucalypt-0.3.1 lib/eucalypt/security/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt