Fossil SCM

Setup and Admin users should not automatically have have the Private capability. This reverses the principal change from check-in [b241130222].

mistachkin 2019-09-04 19:56 trunk
Commit bcdc4c5546aad7dc4f0cf1bcf300e6553b6eef4772ac1509fdf26d9d276ab08e
2 files changed +1 -2 +2 -2
+1 -2
--- src/login.c
+++ src/login.c
@@ -1229,12 +1229,11 @@
12291229
p->NewTkt = p->Password = p->RdAddr =
12301230
p->TktFmt = p->Attach = p->ApndTkt =
12311231
p->ModWiki = p->ModTkt = p->Delete =
12321232
p->RdForum = p->WrForum = p->ModForum =
12331233
p->WrTForum = p->AdminForum =
1234
- p->EmailAlert = p->Announce = p->Debug =
1235
- p->Private = 1;
1234
+ p->EmailAlert = p->Announce = p->Debug;
12361235
/* Fall thru into Read/Write */
12371236
case 'i': p->Read = p->Write = 1; break;
12381237
case 'o': p->Read = 1; break;
12391238
case 'z': p->Zip = 1; break;
12401239
12411240
--- src/login.c
+++ src/login.c
@@ -1229,12 +1229,11 @@
1229 p->NewTkt = p->Password = p->RdAddr =
1230 p->TktFmt = p->Attach = p->ApndTkt =
1231 p->ModWiki = p->ModTkt = p->Delete =
1232 p->RdForum = p->WrForum = p->ModForum =
1233 p->WrTForum = p->AdminForum =
1234 p->EmailAlert = p->Announce = p->Debug =
1235 p->Private = 1;
1236 /* Fall thru into Read/Write */
1237 case 'i': p->Read = p->Write = 1; break;
1238 case 'o': p->Read = 1; break;
1239 case 'z': p->Zip = 1; break;
1240
1241
--- src/login.c
+++ src/login.c
@@ -1229,12 +1229,11 @@
1229 p->NewTkt = p->Password = p->RdAddr =
1230 p->TktFmt = p->Attach = p->ApndTkt =
1231 p->ModWiki = p->ModTkt = p->Delete =
1232 p->RdForum = p->WrForum = p->ModForum =
1233 p->WrTForum = p->AdminForum =
1234 p->EmailAlert = p->Announce = p->Debug;
 
1235 /* Fall thru into Read/Write */
1236 case 'i': p->Read = p->Write = 1; break;
1237 case 'o': p->Read = 1; break;
1238 case 'z': p->Zip = 1; break;
1239
1240
--- www/private.wiki
+++ www/private.wiki
@@ -55,12 +55,12 @@
5555
</pre></blockquote>
5656
5757
You'll have to supply a username and password in order for this to work.
5858
Fossil will not clone (or sync) private branches anonymously.
5959
60
-Only users with the Admin ("a") and Setup ("s") capabilities can do
61
-private branch syncing by default. You will have to give any other user
60
+By default, there are no users that can do private branch syncing. You
61
+will have to give a user
6262
the "Private" capability ("x") if you want them to be able to do this.
6363
We deny such capability for normal users by default to add a barrier to
6464
accidental syncing of a private branch to a public server. It is highly recommended that
6565
you leave the "x" capability turned off on all repositories used for
6666
collaboration (repositories to which many people push and pull) and
6767
--- www/private.wiki
+++ www/private.wiki
@@ -55,12 +55,12 @@
55 </pre></blockquote>
56
57 You'll have to supply a username and password in order for this to work.
58 Fossil will not clone (or sync) private branches anonymously.
59
60 Only users with the Admin ("a") and Setup ("s") capabilities can do
61 private branch syncing by default. You will have to give any other user
62 the "Private" capability ("x") if you want them to be able to do this.
63 We deny such capability for normal users by default to add a barrier to
64 accidental syncing of a private branch to a public server. It is highly recommended that
65 you leave the "x" capability turned off on all repositories used for
66 collaboration (repositories to which many people push and pull) and
67
--- www/private.wiki
+++ www/private.wiki
@@ -55,12 +55,12 @@
55 </pre></blockquote>
56
57 You'll have to supply a username and password in order for this to work.
58 Fossil will not clone (or sync) private branches anonymously.
59
60 By default, there are no users that can do private branch syncing. You
61 will have to give a user
62 the "Private" capability ("x") if you want them to be able to do this.
63 We deny such capability for normal users by default to add a barrier to
64 accidental syncing of a private branch to a public server. It is highly recommended that
65 you leave the "x" capability turned off on all repositories used for
66 collaboration (repositories to which many people push and pull) and
67

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button