@ Override public boolean canEdit ( ProjectEntity entity , SecurityService securityService ) { return securityService . isProjectFunctionGranted ( entity . projectId ( ) , ProjectConfig . class ) && propertyService . hasProperty ( entity . getProject ( ) , SVNProjectConfigurationPropertyType . class ) ; }
One can edit the SVN configuration of a branch only if he can configurure a project and if the project is itself configured with SVN .