@ Override public boolean canEdit ( ProjectEntity entity , SecurityService securityService ) { return securityService . isProjectFunctionGranted ( entity , ProjectConfig . class ) && propertyService . hasProperty ( entity , SVNBranchConfigurationPropertyType . class ) ; }
One can edit the SVN synchronisation only if he can configure the project and if the branch is configured for SVN .