added an additional check to this to make sure a user has access to manage the object, not that they would see the link if they didn't