Fixed bug that a guest could delete a share. Added manager for internal shares.