Fossil

Diff
Login

Differences From Artifact [bdb2d5d204]:

To Artifact [64721179c6]:


99
100
101
102
103
104
105
106

107
108
109
110
111
112
113
99
100
101
102
103
104
105

106
107
108
109
110
111
112
113







-
+







  const char *zDevCap;       /* Capabilities of user group "developer" */
  const char *zReadCap;      /* Capabilities of user group "reader" */
  const char *zPubPages;     /* GLOB pattern for public pages */
  const char *zSelfCap;      /* Capabilities of self-registered users */
  int hasSelfReg = 0;        /* True if able to self-register */
  const char *zPublicUrl;    /* Canonical access URL */
  char *z;
  int n;
  int n, i;
  CapabilityString *pCap;
  char **azCSP;              /* Parsed content security policy */

  login_check_credentials();
  if( !g.perm.Admin ){
    login_needed(0);
    return;
690
691
692
693
694
695
696









697
698
699
700
701
702
703
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712







+
+
+
+
+
+
+
+
+







    @    INSERT INTO private SELECT rid FROM blob WHERE content IS NULL;
    @ </pre></blockquote>
    @ </p>
    table_of_public_phantoms();
    @ </li>
  }

  @ <li><p>
  @ The command that generated this page was:
  @ <blockquote>
  for(i=0; i<g.argc; i++){
    @ %h(g.argv[i]) \
  }
  @ 
  @ </blockquote></li>

  @ </ol>
  style_finish_page();
}

/*
** WEBPAGE: takeitprivate
**