Sha256: e188bc1e87ceb39b025ef1eb58b892cae0e9c37ee5baf793b51c002694149e68

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

project_name = read_project_name
authorize(project_name, 'admin')
dir = find_project_dir(project_name)
username = ARGV.shift
action = ARGV.shift
validate_action_name(action)

project = Project.new(project_name)
project.lock { project.add_permission(username,action) }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hubbard-0.0.18 commands/add-permission.rb