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.

That was my initial plan, but wouldn't it interfere with other tests ?
There is Rspec update test for nyucores_controller that doesn't check for
authorization.


On Wed, Jun 11, 2014 at 12:36 PM, barnabyalter <notifications@github.com>
wrote:

> In lib/ichabod/data_loader.rb:
>
> > @@ -42,6 +42,9 @@ def load
> >            if child.name() == "identifier" then
> >              if @prefix == "sdr" then
> >                core.identifier = child.content()
> > +              if core.identifier == "DSS.NYCDCP_Mappluto_Test_11v1\\DSS.jam_mappluto_7OR" then
>
> @ekate <https://github.com/ekate> You wouldn't want to do this just for a
> single record, you'd want to set these permissions for all GIS records.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/NYULibraries/ichabod/pull/30/files#r13659338>.
>



-- 
Ekaterina Pechekhonova
Digital Library Programmer/Analyst
New York University
Libraries
email: ekate@nyu.edu
phone: 212-992-9993