Open jechols opened 9 years ago
try use generic asset? enable rules on active fedora base.
Yes, update the auth check.
what we have in OD is good enough for roles. might re-visit as more people try to use it? they were made simple on purpose. leave all facet config at admin level.
First, who can ingest stuff / edit stuff / otherwise use the "records" controller?
Second, I think we need to override the hydra editor auth check:
load_and_authorize_resource only: [:new, :edit, :update, :create], instance_name: resource_instance_name
It doesn't protect the index in any way, and I'm not sure we want permissions based on the resource instance name - we are probably okay with a simpler check just on
GenericAsset
.