hide edit and share buttons if not available to current user