Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a typo in the processing of Forum record syncs. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b71ab777f0344b1f3a5ac313de28a47e |
User & Date: | drh 2018-06-25 22:44:02.672 |
Context
2018-06-26
| ||
01:24 | Initial implementation of the /announce webpage. ... (check-in: 65f57546 user: drh tags: trunk) | |
2018-06-25
| ||
22:44 | Fix a typo in the processing of Forum record syncs. ... (check-in: b71ab777 user: drh tags: trunk) | |
22:01 | Make sure the subscriber table is not synced unless the client has appropriate permissions. ... (check-in: 7f0c7fcf user: drh tags: trunk) | |
Changes
Changes to src/xfer.c.
︙ | ︙ | |||
1419 1420 1421 1422 1423 1424 1425 | ){ if( g.perm.Read ){ char *zName = blob_str(&xfer.aToken[1]); if( zName[0]=='/' ){ /* New style configuration transfer */ int groupMask = configure_name_to_mask(&zName[1], 0); if( !g.perm.Admin ) groupMask &= ~(CONFIGSET_USER|CONFIGSET_SCRIBER); | | | 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 | ){ if( g.perm.Read ){ char *zName = blob_str(&xfer.aToken[1]); if( zName[0]=='/' ){ /* New style configuration transfer */ int groupMask = configure_name_to_mask(&zName[1], 0); if( !g.perm.Admin ) groupMask &= ~(CONFIGSET_USER|CONFIGSET_SCRIBER); if( !g.perm.RdForum ) groupMask &= ~CONFIGSET_FORUM; if( !g.perm.RdAddr ) groupMask &= ~CONFIGSET_ADDR; configure_send_group(xfer.pOut, groupMask, 0); } } }else /* config NAME SIZE \n CONTENT |
︙ | ︙ |