|
| |||
|
|
check if you are SUP user http://www.livejournal.com/admin/capedi Update: now this link returns "Error: no access" Was it some kind of provocation? Update 2 http://code.sixapart.com/cgi-bin/viewcv + return "Error: not logged in" unless $remote; + return "Error: no access" + unless $LJ::IS_DEV_SERVER || LJ::check_priv($remote, "admin", "*"); I.e. now only site administrators or developers can use the script. http://code.sixapart.com/cgi-bin/viewcv Revision 9777 - (view) (download) - [select for diffs] Modified Tue Dec 19 05:49:23 2006 UTC (83 minutes, 18 seconds ago) by bradfitz File length: 3026 byte(s) Diff to previous 4871 (colored) allow editing when IS_DEV_SERVER I.e. the modification was done Dec 19 05:49:23 2006 UTC by developer bradfitz Could I also call the description of the modification in the SVN log ("allow editing when IS_DEV_SERVER") misleading? |
|||||||||||||