projecthydra/hydra-head — pull request #28 by dchandekstark (2012-12-17 19:20:11+00:00)
Title: Mods to permissions setter in hydra-access-controls Hydra::ModelMixins::RightsMetadata

See https://groups.google.com/d/msg/hydra-tech/pTXLwKgFxco/mFA8kKP1ZDsJ.

Permissions hash accepts :type => 'person' as equivalent to :type => 'user' (current behavior sets permission type to 'group' unless type == 'user').

Raises ArgumentError if :type not one of 'user', 'person', 'group'.