Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет oblomov_jerusal ([info]oblomov_jerusal)
@ 2006-12-19 07:00:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
check if you are SUP user
http://www.livejournal.com/admin/capedit.bml
Update: now this link returns "Error: no access" Was it some kind of provocation?
Update 2
http://code.sixapart.com/cgi-bin/viewcvs.cgi/trunk/htdocs/admin/capedit.bml?root=livejournal&rev=9777&r1=4871&r2=9777
+ 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/viewcvs.cgi/trunk/htdocs/admin/capedit.bml?rev=9777&root=livejournal&view=log
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?