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].

wyoung 2019-09-04 22:46 trunk
Commit 63581ec8ba19874c9bfd63afbe9c0a7ee7a9269afbfcb236e0e65622661603d2
1 file changed +1 -1
--- src/capabilities.c
+++ src/capabilities.c
@@ -100,11 +100,11 @@
100100
void capability_expand(CapabilityString *pIn){
101101
static char *zNobody = 0;
102102
static char *zAnon = 0;
103103
static char *zReader = 0;
104104
static char *zDev = 0;
105
- static char *zAdmin = "bcdefghijklmnopqrtwxz234567AD";
105
+ static char *zAdmin = "bcdefghijklmnopqrtwz234567AD";
106106
int doneV = 0;
107107
108108
if( pIn==0 ){
109109
fossil_free(zNobody); zNobody = 0;
110110
fossil_free(zAnon); zAnon = 0;
111111
--- 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

Keyboard Shortcuts

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