couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Scheliga <ma...@sourcegarden.de>
Subject compact for everyone
Date Sun, 21 Feb 2010 13:17:14 GMT
Hello CouchDB-Friends,

i just playing around with couchdb 0.10.0 and i was wondering why i  
can trigger compaction without being admin,
is this a bug? Or a Feature?

curl -vX POST http://127.0.0.1:5984/todoapp/_compact
* About to connect() to 127.0.0.1 port 5984 (#0)
*   Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 5984 (#0)
 > POST /todoapp/_compact HTTP/1.1
 > User-Agent: curl/7.19.7 (i386-apple-darwin9.8.0) libcurl/7.19.7  
zlib/1.2.3
 > Host: 127.0.0.1:5984
 > Accept: */*
 >
< HTTP/1.1 202 Accepted
< Server: CouchDB/0.10.0 (Erlang OTP/R13B)
< Date: Sat, 30 Jan 2010 16:02:34 GMT
< Content-Type: text/plain;charset=utf-8
< Content-Length: 12
< Cache-Control: must-revalidate
<
{"ok":true}


?? the admin-users are activated and i am using cookie-auth for other  
users.

greetz
mario


--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin


Mime
View raw message