check object, not object_type, on detail views
Merge branch 'obj_has_perm' into tablefy_row_permissions