Fossil SCM
The /setup_modreq page was limited to Setup users, but since it controls what users with Moderator capability can do, made it available to Admin users as well.
Commit
6242e24d2f082cc8df004801cc65d73c8b7bd2348d55470b1b7855e491fd42c2
Parent
42c3364f037fb0a…
1 file changed
+1
-1
+1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -935,11 +935,11 @@ | ||
| 935 | 935 | ** |
| 936 | 936 | ** Admin page for setting up moderation of tickets and wiki. |
| 937 | 937 | */ |
| 938 | 938 | void setup_modreq(void){ |
| 939 | 939 | login_check_credentials(); |
| 940 | - if( !g.perm.Setup ){ | |
| 940 | + if( !g.perm.Admin ){ | |
| 941 | 941 | login_needed(0); |
| 942 | 942 | return; |
| 943 | 943 | } |
| 944 | 944 | |
| 945 | 945 | style_header("Moderator For Wiki And Tickets"); |
| 946 | 946 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -935,11 +935,11 @@ | |
| 935 | ** |
| 936 | ** Admin page for setting up moderation of tickets and wiki. |
| 937 | */ |
| 938 | void setup_modreq(void){ |
| 939 | login_check_credentials(); |
| 940 | if( !g.perm.Setup ){ |
| 941 | login_needed(0); |
| 942 | return; |
| 943 | } |
| 944 | |
| 945 | style_header("Moderator For Wiki And Tickets"); |
| 946 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -935,11 +935,11 @@ | |
| 935 | ** |
| 936 | ** Admin page for setting up moderation of tickets and wiki. |
| 937 | */ |
| 938 | void setup_modreq(void){ |
| 939 | login_check_credentials(); |
| 940 | if( !g.perm.Admin ){ |
| 941 | login_needed(0); |
| 942 | return; |
| 943 | } |
| 944 | |
| 945 | style_header("Moderator For Wiki And Tickets"); |
| 946 |