Fossil SCM
Removed 'x' from the string of caps reported for Admin and Setup users in capability_expand(), which is used within the SQLite extension function fullcaps(), which among other things affects the output of /setup_ucap_list. We were still reporting that Admin and Setup users have Private capability despite [bcdc4c55].
Commit
63581ec8ba19874c9bfd63afbe9c0a7ee7a9269afbfcb236e0e65622661603d2
Parent
d5a6ea969c8b3a8…
1 file changed
+1
-1
+1
-1
| --- src/capabilities.c | ||
| +++ src/capabilities.c | ||
| @@ -100,11 +100,11 @@ | ||
| 100 | 100 | void capability_expand(CapabilityString *pIn){ |
| 101 | 101 | static char *zNobody = 0; |
| 102 | 102 | static char *zAnon = 0; |
| 103 | 103 | static char *zReader = 0; |
| 104 | 104 | static char *zDev = 0; |
| 105 | - static char *zAdmin = "bcdefghijklmnopqrtwxz234567AD"; | |
| 105 | + static char *zAdmin = "bcdefghijklmnopqrtwz234567AD"; | |
| 106 | 106 | int doneV = 0; |
| 107 | 107 | |
| 108 | 108 | if( pIn==0 ){ |
| 109 | 109 | fossil_free(zNobody); zNobody = 0; |
| 110 | 110 | fossil_free(zAnon); zAnon = 0; |
| 111 | 111 |
| --- src/capabilities.c | |
| +++ src/capabilities.c | |
| @@ -100,11 +100,11 @@ | |
| 100 | void capability_expand(CapabilityString *pIn){ |
| 101 | static char *zNobody = 0; |
| 102 | static char *zAnon = 0; |
| 103 | static char *zReader = 0; |
| 104 | static char *zDev = 0; |
| 105 | static char *zAdmin = "bcdefghijklmnopqrtwxz234567AD"; |
| 106 | int doneV = 0; |
| 107 | |
| 108 | if( pIn==0 ){ |
| 109 | fossil_free(zNobody); zNobody = 0; |
| 110 | fossil_free(zAnon); zAnon = 0; |
| 111 |
| --- src/capabilities.c | |
| +++ src/capabilities.c | |
| @@ -100,11 +100,11 @@ | |
| 100 | void capability_expand(CapabilityString *pIn){ |
| 101 | static char *zNobody = 0; |
| 102 | static char *zAnon = 0; |
| 103 | static char *zReader = 0; |
| 104 | static char *zDev = 0; |
| 105 | static char *zAdmin = "bcdefghijklmnopqrtwz234567AD"; |
| 106 | int doneV = 0; |
| 107 | |
| 108 | if( pIn==0 ){ |
| 109 | fossil_free(zNobody); zNobody = 0; |
| 110 | fossil_free(zAnon); zAnon = 0; |
| 111 |