Fossil SCM
Setup and Admin users should not automatically have have the Private capability. This reverses the principal change from check-in [b241130222].
Commit
bcdc4c5546aad7dc4f0cf1bcf300e6553b6eef4772ac1509fdf26d9d276ab08e
Parent
18e58e29ccac806…
2 files changed
+1
-2
+2
-2
+1
-2
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -1229,12 +1229,11 @@ | ||
| 1229 | 1229 | p->NewTkt = p->Password = p->RdAddr = |
| 1230 | 1230 | p->TktFmt = p->Attach = p->ApndTkt = |
| 1231 | 1231 | p->ModWiki = p->ModTkt = p->Delete = |
| 1232 | 1232 | p->RdForum = p->WrForum = p->ModForum = |
| 1233 | 1233 | p->WrTForum = p->AdminForum = |
| 1234 | - p->EmailAlert = p->Announce = p->Debug = | |
| 1235 | - p->Private = 1; | |
| 1234 | + p->EmailAlert = p->Announce = p->Debug; | |
| 1236 | 1235 | /* Fall thru into Read/Write */ |
| 1237 | 1236 | case 'i': p->Read = p->Write = 1; break; |
| 1238 | 1237 | case 'o': p->Read = 1; break; |
| 1239 | 1238 | case 'z': p->Zip = 1; break; |
| 1240 | 1239 | |
| 1241 | 1240 |
| --- 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 |
+2
-2
| --- www/private.wiki | ||
| +++ www/private.wiki | ||
| @@ -55,12 +55,12 @@ | ||
| 55 | 55 | </pre></blockquote> |
| 56 | 56 | |
| 57 | 57 | You'll have to supply a username and password in order for this to work. |
| 58 | 58 | Fossil will not clone (or sync) private branches anonymously. |
| 59 | 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 | |
| 60 | +By default, there are no users that can do private branch syncing. You | |
| 61 | +will have to give a user | |
| 62 | 62 | the "Private" capability ("x") if you want them to be able to do this. |
| 63 | 63 | We deny such capability for normal users by default to add a barrier to |
| 64 | 64 | accidental syncing of a private branch to a public server. It is highly recommended that |
| 65 | 65 | you leave the "x" capability turned off on all repositories used for |
| 66 | 66 | collaboration (repositories to which many people push and pull) and |
| 67 | 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 | 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 |