fkaempfer commented on issue #475: COUCHDB-3367: Require server admin user for db/_compact and db/_view_cleanup endpoints URL: https://github.com/apache/couchdb/pull/475#issuecomment-298887096 I verified that the behaviour of 1.6.1 is indeed that db admins are also allowed to perform compaction: - anonymous: disallowed - member: disallowed - db admin: allowed - server admin: allowed I guess the same is true for view compaction, which I have not tested. This would mean the pull request needs to be changed to get the actual permission response from the corresponding shard via RPC as far as I understand. This is a bit more tricky to implement and requires changing a couple of method signatures. If you think it's worth persuing I can try doing it. Or perhaps you prefer that somebody from the CouchDB team does it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services