def _changeAccess(self, index):
            item = index.internalPointer()
            text, good = QInputDialog.getItem(None, 'modify item access', 'choose new access type:', ['private', 'public'], current=item.access() == CollectionItem.AccessType.public, editable=False)
            if not good:
                return
            newaccess = CollectionItem.AccessType.public if text == 'public' else CollectionItem.AccessType.private
            if newaccess == item.access():
                return
            item.setAccess(newaccess)