Differences From Artifact [c99de47894]:
- File src/setupuser.c — part of check-in [b14cf3bc68] at 2019-05-17 07:27:00 on branch moderate-disapprove-on-user-delete — When deleting a user via /setup_uedit, also disapprove any pending-moderation entries for users which are no longer in the user table. This is programmatically simpler than only removing entries for the removed user but (potential corner case) would also disapprove pending modreq entries if a user account is renamed while moderation of their content is pending. (user: stephan size: 29265) [more...]
To Artifact [5c7982f3ce]:
- File src/setupuser.c — part of check-in [9ca4eb2bda] at 2019-07-25 23:56:01 on branch trunk — Neither Setup nor Admin users get Write-Unversioned permission by default. And only Setup users are able to include Write-Unversioned permission when editing a user. (user: drh size: 29277) [more...]
| ︙ | |||
335 336 337 338 339 340 341 | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | - + |
/* We have all the information we need to make the change to the user */
char c;
char zCap[70], zNm[4];
zNm[0] = 'a';
zNm[2] = 0;
for(i=0, c='a'; c<='z'; c++){
zNm[1] = c;
|
| ︙ |