Fixed media_resources/index_spec wrt. accessible_by_user call
Removed spec w.r.t revoking permission