Sha256: 40e8a784bd36479bd065865cf85803a4a9f4e0da1f7294d9d429fb843167dc86

Contents?: true

Size: 904 Bytes

Versions: 27

Compression:

Stored size: 904 Bytes

Contents

#!/bin/sh

# guest:guest has full access to /

sudo rabbitmqctl add_vhost /
sudo rabbitmqctl add_user guest guest
sudo rabbitmqctl set_permissions -p / guest ".*" ".*" ".*"


# guest:guest has full access to amq_client_testbed
# amq_client_gem:amq_client_gem has full access to /amq_client_testbed

sudo rabbitmqctl delete_vhost "amq_client_testbed"
sudo rabbitmqctl add_vhost "amq_client_testbed"
sudo rabbitmqctl delete_user amq_client_gem
sudo rabbitmqctl add_user amq_client_gem amq_client_gem_password
sudo rabbitmqctl set_permissions -p amq_client_testbed guest ".*" ".*" ".*"
sudo rabbitmqctl set_permissions -p amq_client_testbed amq_client_gem ".*" ".*" ".*"


# amqp_gem_reader:reader_password has read access to amq_client_testbed

sudo rabbitmqctl add_user amq_client_gem_reader reader_password
sudo rabbitmqctl set_permissions -p amq_client_testbed amq_client_gem_reader "^---$" "^---$" ".*"

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
amq-client-0.9.12 bin/ci/before_build.sh
amq-client-0.9.11 bin/ci/before_build.sh
amq-client-0.9.10 bin/ci/before_build.sh
amq-client-0.9.9 bin/ci/before_build.sh
amq-client-0.9.8 bin/ci/before_build.sh
amq-client-0.9.7 bin/ci/before_build.sh
amq-client-0.9.6 bin/ci/before_build.sh
amq-client-0.9.5 bin/ci/before_build.sh
amq-client-0.9.4 bin/ci/before_build.sh
amq-client-1.0.0.pre2 bin/ci/before_build.sh
amq-client-0.9.3 bin/ci/before_build.sh
amq-client-1.0.0.pre1 bin/ci/before_build.sh
amq-client-0.9.2 bin/ci/before_build.sh
amq-client-0.9.1 bin/ci/before_build.sh
amq-client-0.9.0 bin/ci/before_build.sh
amq-client-0.9.0.pre2 bin/ci/before_build.sh
amq-client-0.9.0.pre1 bin/ci/before_build.sh
amq-client-0.8.7 bin/ci/before_build.sh
amq-client-0.8.7.pre1 bin/ci/before_build.sh
amq-client-0.8.6 bin/ci/before_build.sh