Fossil SCM
Changed internal docs on capability 6 (AdminForum) to remove the claim that it can be used to revoke capabilty 4 (WrTForum) from users. I think that feature was planned, but no UI was ever created to support it. Maybe that feature will come someday, but the forum feature is over a year old now. Doing it on this branch because this is all part of the capability documentation improvements. Without this checkin, the cap ref doesn't match the code's internal docs.
Commit
fd9ba57a6a80b0efb9b9e56381e00bf23c591db67953ec28a615ca1038b41eba
Parent
0af0e14688c7bfc…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/capabilities.c | ||
| +++ src/capabilities.c | ||
| @@ -297,11 +297,11 @@ | ||
| 297 | 297 | { '4', CAPCLASS_FORUM, 0, |
| 298 | 298 | "Forum-Trusted", "Create forum messages that bypass moderation" }, |
| 299 | 299 | { '5', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 300 | 300 | "Forum-Mod", "Moderator for forum messages" }, |
| 301 | 301 | { '6', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 302 | - "Forum-Admin", "Set or remove capability '4' from other users" }, | |
| 302 | + "Forum-Admin", "Grant capability '4' to other users" }, | |
| 303 | 303 | { '7', CAPCLASS_ALERT, 0, |
| 304 | 304 | "Alerts", "Sign up for email alerts" }, |
| 305 | 305 | { 'A', CAPCLASS_ALERT|CAPCLASS_SUPER, 0, |
| 306 | 306 | "Announce", "Send announcements to all subscribers" }, |
| 307 | 307 | { 'D', CAPCLASS_OTHER, 0, |
| 308 | 308 |
| --- src/capabilities.c | |
| +++ src/capabilities.c | |
| @@ -297,11 +297,11 @@ | |
| 297 | { '4', CAPCLASS_FORUM, 0, |
| 298 | "Forum-Trusted", "Create forum messages that bypass moderation" }, |
| 299 | { '5', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 300 | "Forum-Mod", "Moderator for forum messages" }, |
| 301 | { '6', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 302 | "Forum-Admin", "Set or remove capability '4' from other users" }, |
| 303 | { '7', CAPCLASS_ALERT, 0, |
| 304 | "Alerts", "Sign up for email alerts" }, |
| 305 | { 'A', CAPCLASS_ALERT|CAPCLASS_SUPER, 0, |
| 306 | "Announce", "Send announcements to all subscribers" }, |
| 307 | { 'D', CAPCLASS_OTHER, 0, |
| 308 |
| --- src/capabilities.c | |
| +++ src/capabilities.c | |
| @@ -297,11 +297,11 @@ | |
| 297 | { '4', CAPCLASS_FORUM, 0, |
| 298 | "Forum-Trusted", "Create forum messages that bypass moderation" }, |
| 299 | { '5', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 300 | "Forum-Mod", "Moderator for forum messages" }, |
| 301 | { '6', CAPCLASS_FORUM|CAPCLASS_SUPER, 0, |
| 302 | "Forum-Admin", "Grant capability '4' to other users" }, |
| 303 | { '7', CAPCLASS_ALERT, 0, |
| 304 | "Alerts", "Sign up for email alerts" }, |
| 305 | { 'A', CAPCLASS_ALERT|CAPCLASS_SUPER, 0, |
| 306 | "Announce", "Send announcements to all subscribers" }, |
| 307 | { 'D', CAPCLASS_OTHER, 0, |
| 308 |
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -105,11 +105,11 @@ | ||
| 105 | 105 | char WrUnver; /* y: can push unversioned content */ |
| 106 | 106 | char RdForum; /* 2: Read forum posts */ |
| 107 | 107 | char WrForum; /* 3: Create new forum posts */ |
| 108 | 108 | char WrTForum; /* 4: Post to forums not subject to moderation */ |
| 109 | 109 | char ModForum; /* 5: Moderate (approve or reject) forum posts */ |
| 110 | - char AdminForum; /* 6: Set or remove capability 4 on other users */ | |
| 110 | + char AdminForum; /* 6: Grant capability 4 to other users */ | |
| 111 | 111 | char EmailAlert; /* 7: Sign up for email notifications */ |
| 112 | 112 | char Announce; /* A: Send announcements */ |
| 113 | 113 | char Debug; /* D: show extra Fossil debugging features */ |
| 114 | 114 | /* These last two are included to block infinite recursion */ |
| 115 | 115 | char XReader; /* u: Inherit all privileges of "reader" */ |
| 116 | 116 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | char WrUnver; /* y: can push unversioned content */ |
| 106 | char RdForum; /* 2: Read forum posts */ |
| 107 | char WrForum; /* 3: Create new forum posts */ |
| 108 | char WrTForum; /* 4: Post to forums not subject to moderation */ |
| 109 | char ModForum; /* 5: Moderate (approve or reject) forum posts */ |
| 110 | char AdminForum; /* 6: Set or remove capability 4 on other users */ |
| 111 | char EmailAlert; /* 7: Sign up for email notifications */ |
| 112 | char Announce; /* A: Send announcements */ |
| 113 | char Debug; /* D: show extra Fossil debugging features */ |
| 114 | /* These last two are included to block infinite recursion */ |
| 115 | char XReader; /* u: Inherit all privileges of "reader" */ |
| 116 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -105,11 +105,11 @@ | |
| 105 | char WrUnver; /* y: can push unversioned content */ |
| 106 | char RdForum; /* 2: Read forum posts */ |
| 107 | char WrForum; /* 3: Create new forum posts */ |
| 108 | char WrTForum; /* 4: Post to forums not subject to moderation */ |
| 109 | char ModForum; /* 5: Moderate (approve or reject) forum posts */ |
| 110 | char AdminForum; /* 6: Grant capability 4 to other users */ |
| 111 | char EmailAlert; /* 7: Sign up for email notifications */ |
| 112 | char Announce; /* A: Send announcements */ |
| 113 | char Debug; /* D: show extra Fossil debugging features */ |
| 114 | /* These last two are included to block infinite recursion */ |
| 115 | char XReader; /* u: Inherit all privileges of "reader" */ |
| 116 |