Fossil

Check-in [9eb7f4fb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make sure Admin users have ZIP permission. Ticket [2741e01c0b].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9eb7f4fb1ec8a092d1c313461a2cc8ae6bcca34e
User & Date: drh 2010-01-22 03:09:32
References
2010-01-22
05:50 Ticket [2741e01c] local clone of fossil repo does not let save zip archive of check-in status still Fixed with 1 other change artifact: 070578a1 user: anonymous
03:10 Fixed ticket [2741e01c]. artifact: 2ecd5b65 user: drh
Context
2010-01-22
16:36
HTML-escape text content in the RSS feed. Ticket [83e9e0016b6]. check-in: 825a2c7c user: drh tags: trunk
03:09
Make sure Admin users have ZIP permission. Ticket [2741e01c0b]. check-in: 9eb7f4fb user: drh tags: trunk
2010-01-21
20:53
Merge experimental remote-url password handling changes into the trunk. check-in: a3c97c90 user: drh tags: trunk, release
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/login.c.

470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
void login_set_capabilities(const char *zCap){
  static char *zDev = 0;
  static char *zUser = 0;
  int i;
  for(i=0; zCap[i]; i++){
    switch( zCap[i] ){
      case 's':   g.okSetup = 1;  /* Fall thru into Admin */
      case 'a':   g.okAdmin = g.okRdTkt = g.okWrTkt = 
                              g.okRdWiki = g.okWrWiki = g.okNewWiki =
                              g.okApndWiki = g.okHistory = g.okClone = 
                              g.okNewTkt = g.okPassword = g.okRdAddr =
                              g.okTktFmt = 1;  /* Fall thru into Read/Write */
      case 'i':   g.okRead = g.okWrite = 1;                     break;
      case 'o':   g.okRead = 1;                                 break;
      case 'z':   g.okZip = 1;                                  break;







|







470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
void login_set_capabilities(const char *zCap){
  static char *zDev = 0;
  static char *zUser = 0;
  int i;
  for(i=0; zCap[i]; i++){
    switch( zCap[i] ){
      case 's':   g.okSetup = 1;  /* Fall thru into Admin */
      case 'a':   g.okAdmin = g.okRdTkt = g.okWrTkt = g.okZip =
                              g.okRdWiki = g.okWrWiki = g.okNewWiki =
                              g.okApndWiki = g.okHistory = g.okClone = 
                              g.okNewTkt = g.okPassword = g.okRdAddr =
                              g.okTktFmt = 1;  /* Fall thru into Read/Write */
      case 'i':   g.okRead = g.okWrite = 1;                     break;
      case 'o':   g.okRead = 1;                                 break;
      case 'z':   g.okZip = 1;                                  break;