code: public static boolean canEditPermissionsForRoles(CmsObject cms, String path) {
  
          return OpenCms.getRoleManager().hasRoleForResource(cms, CmsRole.VFS_MANAGER, path)
              && path.startsWith(VFS_PATH_SYSTEM);
      }
docs: Checks if permissions for roles should be editable for the current user on the resource with the given path.<p>
  
  @param cms the CMS context
  @param path the path of a resource
  
  @return <code>true</code> if permissions for roles should be editable for the current user on the resource with the given path