Skip to content

User Accounts #218

Closed
Closed

Description

@emilbayes

I'm extemely excited about rethinkdb and have been playing around with it for a while. Are user accounts on the road map any time soon?

I'm thinking accounts restricting access to specific databases and read/write restrictions.

Activity

  1. coffeemug commented on Jan 14, 2013

    @coffeemug
    Contributor

    @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.

  2. tobymarsden commented on Jun 9, 2014

    @tobymarsden

    This would be super-useful for us. In particular (and in order of utility), per user:

    • authorization to connect to to specific databases
    • enabling/disabling database creation/deletion
    • forcing read-only connections (e.g. for reporting)

    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.

  3. sandstrom commented on Jul 5, 2014

    @sandstrom

    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!

  4. tobymarsden commented on Jul 5, 2014

    @tobymarsden

    @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.

  5. lorenz commented on Aug 14, 2014

    @lorenz

    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.

  6. coffeemug commented on Aug 14, 2014

    @coffeemug
    Contributor

    This is planned but not scheduled. I expect we can get to this on a roughly ~6 months timeline.

  7. modified the milestones: , subsequent on Sep 29, 2014
  8. samuelgoldenbaum commented on Dec 9, 2014

    @samuelgoldenbaum

    +1 here, really is essential

  9. danielmewes commented on Dec 9, 2014

    @danielmewes
    Member

    @samuelgoldenbaum which sorts of user privileges would you need control over in your use case?

  10. dmpayton commented on Jan 15, 2015

    @dmpayton

    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.

  11. 12 remaining items

  12. ekingery commented on Apr 28, 2015

    @ekingery

    +1, we want to use this for a multi-tenant app and having no logical separation between dbs is a big concern for us.

  13. rookus commented on May 5, 2015

    @rookus

    +1 for the secret token and views approach described by @jampekka, this is exactly the approach I'm looking for.

  14. samuelgoldenbaum commented on Jun 12, 2015

    @samuelgoldenbaum

    +10 for tokens

  15. alex-dixon commented on Jun 17, 2015

    @alex-dixon

    +2

  16. RubenKelevra commented on Aug 16, 2015

    @RubenKelevra

    +10

  17. NeonMonk commented on Oct 27, 2015

    @NeonMonk

    +100

  18. coffeemug commented on Oct 29, 2015

    @coffeemug
    Contributor

    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).

  19. danielmewes commented on Nov 10, 2015

    @danielmewes
    Member

    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.

  20. GeoffreyPlitt commented on Aug 8, 2016

    @GeoffreyPlitt

    @coffeemug Is there any progress on this?

  21. VeXocide commented on Aug 8, 2016

    @VeXocide
    Member

    @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.

  22. coffeemug commented on Aug 9, 2016

    @coffeemug
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions