group permissions for editing

fix for issue #696