Added delete-function to share-function
Bugfix for member rights