You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@TiXz -- user accounts/quotas are definitely on the map, but they haven't been scheduled yet as there are some more pressing features we'd like to build first. If this is critical for you, shoot me an email to [email protected] and we'll see if we can reprioritize.
Isn't authentication (and authorization) easiest to handle at the application layer?
My hunch is that most people run db nodes on locked-down internal networks, where the application servers [db drivers] are trusted and could perform authentication. I'd vote for allocating time elsewhere!
@sandstrom - firstly, defense in depth, but secondly, authentication and authorization at the db level allows for other scenarios in a multi-tenant environment: think of use cases for other RDBMS like MySQL and Postgres.
I would like to see authentication on a per DB level, because then I can run a single RethinkDB cluster for many applications. If it isn't planned, I could also try to code it.
All -- good news, this project is now on the way. We have a basic design in mind, and are starting full design/development today (@VeXocide is the engineer on this). We're shooting to get this out in the next release or two (so realistically, we should be able to get it done and released before end of year).
@GeoffreyPlitt Yes, it's there! User accounts and permissions for tables has been added to 2.3 along with a new authentication protocol, see #4519 and #5406 for more information. Support for permissions on system tables is currently in code review and will be added to 2.4, see #5692. Adding security features to an existing product is always a rather intrusive process thus we're taking this one step at a time, but this should cover most uses.
Activity
coffeemug commentedon Jan 14, 2013
@TiXz -- user accounts/quotas are definitely on the map, but they haven't been scheduled yet as there are some more pressing features we'd like to build first. If this is critical for you, shoot me an email to [email protected] and we'll see if we can reprioritize.
tobymarsden commentedon Jun 9, 2014
This would be super-useful for us. In particular (and in order of utility), per user:
User accounts would be extremely valuable for us even without levels of permission granularity anything like Postgres.
Quotas sound trickier, although a query timeout specified per-user would certainly be useful.
sandstrom commentedon Jul 5, 2014
Isn't authentication (and authorization) easiest to handle at the application layer?
My hunch is that most people run db nodes on locked-down internal networks, where the application servers [db drivers] are trusted and could perform authentication. I'd vote for allocating time elsewhere!
tobymarsden commentedon Jul 5, 2014
@sandstrom - firstly, defense in depth, but secondly, authentication and authorization at the db level allows for other scenarios in a multi-tenant environment: think of use cases for other RDBMS like MySQL and Postgres.
lorenz commentedon Aug 14, 2014
I would like to see authentication on a per DB level, because then I can run a single RethinkDB cluster for many applications. If it isn't planned, I could also try to code it.
coffeemug commentedon Aug 14, 2014
This is planned but not scheduled. I expect we can get to this on a roughly ~6 months timeline.
samuelgoldenbaum commentedon Dec 9, 2014
+1 here, really is essential
danielmewes commentedon Dec 9, 2014
@samuelgoldenbaum which sorts of user privileges would you need control over in your use case?
dmpayton commentedon Jan 15, 2015
I wanted to add my own +1 to this; user accounts are important for our use case. My wish list is pretty much exactly what @tobymarsden posted.
12 remaining items
ekingery commentedon Apr 28, 2015
+1, we want to use this for a multi-tenant app and having no logical separation between dbs is a big concern for us.
rookus commentedon May 5, 2015
+1 for the secret token and views approach described by @jampekka, this is exactly the approach I'm looking for.
samuelgoldenbaum commentedon Jun 12, 2015
+10 for tokens
alex-dixon commentedon Jun 17, 2015
+2
RubenKelevra commentedon Aug 16, 2015
+10
NeonMonk commentedon Oct 27, 2015
+100
coffeemug commentedon Oct 29, 2015
All -- good news, this project is now on the way. We have a basic design in mind, and are starting full design/development today (@VeXocide is the engineer on this). We're shooting to get this out in the next release or two (so realistically, we should be able to get it done and released before end of year).
danielmewes commentedon Nov 10, 2015
We're going to discuss the actual API / implementation for this in #4519 . There should be an updated proposal in there soon.
I'm going to close this in favor of the other issue, so we don't have two different ones around.
GeoffreyPlitt commentedon Aug 8, 2016
@coffeemug Is there any progress on this?
VeXocide commentedon Aug 8, 2016
@GeoffreyPlitt Yes, it's there! User accounts and permissions for tables has been added to 2.3 along with a new authentication protocol, see #4519 and #5406 for more information. Support for permissions on system tables is currently in code review and will be added to 2.4, see #5692. Adding security features to an existing product is always a rather intrusive process thus we're taking this one step at a time, but this should cover most uses.
coffeemug commentedon Aug 9, 2016
🙇 @VeXocide