basho/riak_core — pull request #567 by macintux (2014-04-03 21:31:41+00:00)
Title: Do not allow a bucket type named 'any'

In order for the security CLI to be able to grant permissions to any bucket type, we need to prevent the administrator from creating a bucket type named "any".

This is dependent on an unfinished PR that would change the grant syntax to use lower-case keywords; this may need to be changed to "ANY" before approval and merging.

**Note**: I don't have a registered copy of QuickCheck, nor would I know what to do with it if I had it, so the eqc fix is untested. Seems self-evidently correct based on my reading, but yolo.

/cc @jrwest

(Supersedes #556)