add inspection of the object to has_change_permission and has_delete_per...

...mission