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.

I am changing that part of the code right now, so could you please wait
till I push the updated version ?




On Wed, Jun 11, 2014 at 12:38 PM, barnabyalter <notifications@github.com>
wrote:

> In config/role_map_cucumber.yml:
>
> > @@ -8,3 +8,5 @@ patron:
> >    - patron1@example.com
> >  admin_policy_object_editor:
> >    - archivist1@example.com
> > +GIS cataloger:
> > +  -archivist1@example.com
>
> @ekate <https://github.com/ekate> So as discussed this would actually be
> something like
>
> gis_cataloger:
>    jsXX
>
> Since that is the username for the fake user. Also, I think you should add
> these to the development and staging role mapper and add that same sample
> user in there to see if you can get this desired functionality not just in
> cucumber but in the application in other environments.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/NYULibraries/ichabod/pull/30/files#r13659441>.
>



-- 
Ekaterina Pechekhonova
Digital Library Programmer/Analyst
New York University
Libraries
email: ekate@nyu.edu
phone: 212-992-9993