adjusted CVS to new permission model