Feature/edit metadata authorization

I assume that pds_handle contain user group name(s) and thus we don't need to add roles. To reflect this I added customized method "groups" to user model. If the assumption is incorrect I will fix it and edit roles file.

Was experimenting with database authorization. Will delete


On Fri, Jul 25, 2014 at 3:20 PM, barnabyalter <notifications@github.com>
wrote:

> In app/models/user.rb:
>
> > @@ -1,6 +1,9 @@
> >  class User < ActiveRecord::Base
> >  # Connects this user object to Hydra behaviors.
> >   include Hydra::User
> > + # Connects this user object to Role-management behaviors.
> > + #include Hydra::RoleManagement::UserRoles
>
> @ekate <https://github.com/ekate> Is this necessary? If so, why commented
> out?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/NYULibraries/ichabod/pull/30/files#r15419475>.
>



-- 
Ekaterina Pechekhonova
Digital Library Programmer/Analyst
New York University
Libraries
email: ekate@nyu.edu
phone: 212-992-9993