Overview
SHA1 Hash: | 2a3e85f2d5d34b20a5663990e3ee156aa7d90fb4 |
---|---|
Date: | 2008-12-26 17:36:08 |
User: | drh |
Comment: | Require wiki edit privilege in order to edit the Sandbox wiki page, just like any other wiki page. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/wiki.c from [738d038bd7] to [fc21315561].
@@ -218,10 +218,14 @@ login_check_credentials(); zPageName = PD("name",""); if( check_name(zPageName) ) return; isSandbox = is_sandbox(zPageName); if( isSandbox ){ + if( !g.okWrWiki ){ + login_needed(); + return; + } if( zBody==0 ){ zBody = db_get("sandbox",""); } }else{ zTag = mprintf("wiki-%s", zPageName);