Sha256: fa3998b91b5c05ddc755cd24ee6f459748625e3862b10432f0a1f83c04301595

Contents?: true

Size: 460 Bytes

Versions: 14

Compression:

Stored size: 460 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'mdwa/dsl'
MDWA::DSL.users.register '<%= @user %>' do |u|
  
  # Description of what this user does in the system.
  # u.description = 'Member of the programmers team.'
  
  # User roles
  # By default, the user name is already included by default.
  # u.user_roles = ['<%= @user %>']
  
end

<%- unless options.requirement.blank? -%>
MDWA::DSL.user('<%= @user %>').in_requirements << '<%= options.requirement %>'
<%- end -%>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mdd-3.1.0 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.20 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.19 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.18 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.17 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.16 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.15 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.14 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.13 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.10 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.9 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.8 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.7 lib/generators/mdwa/user/templates/user.rb
mdd-3.0.6 lib/generators/mdwa/user/templates/user.rb