code: public boolean canEdit(Page page) {
          List<String> permTypes = new ArrayList<String>();
          permTypes.add(SpacePermission.CREATEEDIT_PAGE_PERMISSION);
          return getSpacePermissionManager().hasPermissionForSpace(getRemoteUser(), permTypes, page.getSpace());
      }
docs: <p>canEdit.</p>
  
  @param page a {@link com.atlassian.confluence.pages.Page} object.
  @return a boolean.