Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multitenancy support in the future #557

Open
pannon opened this issue Dec 26, 2016 · 6 comments
Open

Multitenancy support in the future #557

pannon opened this issue Dec 26, 2016 · 6 comments

Comments

@pannon
Copy link

pannon commented Dec 26, 2016

This is more or less just a theoretical question touching on future plans and whether multitenancy is on the roadmap. Also as of now, could this be implemented by a relatively low touch code addition or would this require major refactoring of LeoFS?

This could be something a lot of potential (large) adopters are looking for.

Thanks in advance.

@yosukehara
Copy link
Member

@pannon You're able to separately manage user's objects with a bucket, and which already realizes access control.

LeoFS' Commands

  • Create a user
$ leofs-adm create-user test_account password
access-key-id: be8111173c8218aaf1c3
secret-access-key: 929b09f9b794832142c59218f2907cd1c35ac163
  • Get users
$ leofs-adm get-users
user_id     | access_key_id          | created_at
------------+------------------------+---------------------------
_test_leofs | 05236                  | 2012-12-07 10:27:39 +0900
leo         | 39bbad4f3b837ed209fb   | 2012-12-07 10:27:39 +0900
  • Update ACL of a user
$ leofs-adm update-acl photo 05236 private
ok
$ leofs-adm update-acl photo 05236 public-read
ok
$ leofs-adm update-acl photo 05236 public-read-write
ok

@mocchira
Copy link
Member

mocchira commented Dec 27, 2016

@pannon let us clarify that what multi-tenancy exactly means?
as @yosukehara said at the above comment,
we've provided only bucket-level multi-tenancy but maybe what you call multi-tenancy is like
Riak S2 provides (more high level features

  • User Creation
  • Credential Management
  • Dedicated Storage (physically separated from others
  • and much more!

right?
if so, it's definitely attractive especially for kinda cloud players.
so it would be great if you tell us which features you actually want.

@pannon
Copy link
Author

pannon commented Dec 27, 2016

@mocchira, sorry I wasn't clear enough previously - yes I meant multitenancy similar to Riak S2.

@yosukehara we use bucket/user level separation already, but in some cases it would be more desirable to have some form of an organisation/department/environment separation with sub-users.

Right now the only way to somewhat achieve this is to set up multiple separated clusters.

@yosukehara
Copy link
Member

yosukehara commented Dec 27, 2016

@pannon I've understood your request totally. We'll consider that at beginning of the next month, then I'll share the plan on here.

@yosukehara
Copy link
Member

@pannon We're going to consider again this issue from next week since v1.3.5 was released.

@OldhamMade
Copy link

Have there been any recent changes relating to multi-tenancy? Is this possible yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants