couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Octavian Damiean <mainer...@gmail.com>
Subject Re: Allowing access only to authenticated users
Date Sat, 08 Sep 2012 10:29:28 GMT
Hello,

You'd do the same thing on a SQL database. A user would have a flag that
indicates his permissions.
On Sep 8, 2012 10:33 AM, "Wordit" <wordituk@gmail.com> wrote:

> Is there a way of allowing access only to authenticated users?
> The only default role is "_admin" according to the docs I could find.
> There's no "_user" role, meaning anyone in the _users db, is there?
>
> I'd rather not have the data completely public, only accessible to
> signed-up users. People in the "_users" database.
>
> Adding each individual user who signs up to a custom role "users"
> doesn't sound like a good way to achieve this. Or is the only way? Any
> suggestions?
>
> Thanks,
>
> Marcus
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message