Differences From Artifact [435d4ff861]:
- File src/login.c — part of check-in [f7a3c6deef] at 2011-02-22 20:30:45 on branch trunk — Do not do automatic login for "fossil server" and "fossil http" and "fossil cgi" unless the --localauth option is used. Continue to do automatic login for 127.0.0.1 connections for "fossil ui", though. Ticket [573727d6d93badc] (user: drh size: 27047)
To Artifact [8e2001c55b]:
- File src/login.c — part of check-in [4a17f85182] at 2011-02-26 21:49:43 on branch private-sync — First cut at code to enable syncing private branches. Code compiles but is otherwise untested. The "x" privilege is required on the server in order to sync privately. (user: drh size: 27118)
︙ | |||
533 534 535 536 537 538 539 540 541 542 543 544 545 546 | 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 | + | case 'r': g.okRdTkt = 1; break; case 'n': g.okNewTkt = 1; break; case 'w': g.okWrTkt = g.okRdTkt = g.okNewTkt = g.okApndTkt = 1; break; case 'c': g.okApndTkt = 1; break; case 't': g.okTktFmt = 1; break; case 'b': g.okAttach = 1; break; case 'x': g.okPrivate = 1; break; /* The "u" privileges is a little different. It recursively ** inherits all privileges of the user named "reader" */ case 'u': { if( zUser==0 ){ zUser = db_text("", "SELECT cap FROM user WHERE login='reader'"); login_set_capabilities(zUser); |
︙ |