couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: doc permission mask proposal
Date Wed, 27 Apr 2011 11:01:52 GMT
On Wed, Apr 27, 2011 at 12:36 PM, Benoit Chesneau <> wrote:
> I'm thinking to add simple permissions handling to a doc by using
> _uid, _gid, _mod members to a doc where members are defined like this:
> _uid: user owning the doc
> _gid: group owning the doc
> _mod: octal number, doc mode bits corresponding to chmod(1) values.
> By doing this and if enable in settings we could do simple acl
> handling like a file system when getting doc. access to views would be
> handled by the access to the design doc containing them.
> thoughts ?
> - benoit

I was thinking to _all_docs, too, and maybe we could handle that in
the security object, by giving to this resource a permission mask too
or something like it.

- benoƮt

View raw message