BUGFIX canEdit checking wrong group code and there is no need to extend canEdit functionality at all