Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
Add permission to create new bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
igayoso committed Nov 6, 2014
1 parent 25eebf1 commit fb68aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set_riak_password.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo "=> Creating riak user with ${_word} password"
# Enable security for use authentication user and create user with random password
riak-admin security enable
riak-admin security add-user riakuser password=$PASS
riak-admin security grant riak_kv.get,riak_kv.put,riak_kv.delete,riak_kv.index,riak_kv.list_keys,riak_kv.list_buckets on any to riakuser
riak-admin security grant riak_core.set_bucket,riak_kv.get,riak_kv.put,riak_kv.delete,riak_kv.index,riak_kv.list_keys,riak_kv.list_buckets on any to riakuser
riak-admin security add-source all 0.0.0.0/0 password

echo "=> Done!"
Expand Down

0 comments on commit fb68aef

Please sign in to comment.