cap_permission

Another Capistrano ruby gem: cap_permission.
This ruby gem allows you to control who can run Capistrano. You can set permissions based on a user’s group membership, or create a list of “deployment_users” who are allowed to run Capistrano.

By default users in “root”, “sysadmins”, and “confmgmt” groups are granted permission.

require 'cap_permission'

set :group_name, "releasemgmt" # allows users in 'releasemgmt' group to run cap tasks

set :deployment_users, ["leeroy", "jenkins"] # allows user 'leeroy' and user 'jenkins' to run cap tasks
Advertisements
Tagged with: , , , ,
Posted in capistrano, ruby, rubygem

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: