Re: First Demo/Draft of _access / per document permissions

2017-11-15 Thread Adam Kocoloski
Hi Jan, I took a closer read and I do think you’re on the right path. I certainly agree with reusing the secondary index machinery to create the extra internal indexes. On the by-access-seq index … did we ever discuss how to efficiently track and report the last observed sequences from the vari

Re: First Demo/Draft of _access / per document permissions

2017-11-15 Thread Adam Kocoloski
Oh also, meant to say - nice work on Spiegel :) > On Nov 15, 2017, at 9:00 PM, Adam Kocoloski wrote: > > Hiya Geoff, > > You’re right, there is a non-trivial overhead in calculating view responses > that need to pull from every shard. On the other hand, maintaining a unique > database file fo

Re: First Demo/Draft of _access / per document permissions

2017-11-15 Thread Adam Kocoloski
Hiya Geoff, You’re right, there is a non-trivial overhead in calculating view responses that need to pull from every shard. On the other hand, maintaining a unique database file for every user is quite problematic at scale. It works OK up to several thousand users, but eventually you start runn

Re: First Demo/Draft of _access / per document permissions

2017-11-15 Thread Geoffrey Cox
Hey Jan, I've been trying to solve a similar problem from a different angle using efficient and scalable replication via spiegel . I'm super excited that you are drafting this level of access, but my major concern is on performance. From what I gather, if you c

First Demo/Draft of _access / per document permissions

2017-11-15 Thread Jan Lehnardt
Hi all, in the midst of handling the security stuff I had a moment of clarity how the often requested per document permissions could be implemented. We had discussed a potential approach extensively in the February Boston Developer Summit (notes here: https://lists.apache.org/thread.html/09a56

Deb Package for 1.7.1

2017-11-15 Thread Leonardo Lazzaro
Hi! I built a .deb package for 1.7.1. I'm testing it with ubuntu 14.01 and Debian stretch. Which are the requirements to add the .deb to the official ppa? Thanks, Leonardo