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

change owner of bucket #105

Closed
Licenser opened this issue Nov 8, 2013 · 4 comments
Closed

change owner of bucket #105

Licenser opened this issue Nov 8, 2013 · 4 comments
Assignees
Milestone

Comments

@Licenser
Copy link
Contributor

Licenser commented Nov 8, 2013

It would be wonderful if it were possible to change the owner of a bucket.

@yosukehara
Copy link
Member

I think so.I'll implement this function. Thank you.

@ghost ghost assigned yosukehara Nov 9, 2013
@yosukehara
Copy link
Member

I implemented function of your request, which will be included in the next minor version.

  • the operation way:
create-user yosuke hara
  access-key-id: 8b994f6a320de1e61d1f
  secret-access-key: 5ed40d4c77ae3ee6a8c57158b0ddbec2fa3f7686

get-users
user_id     | role_id | access_key_id          | created_at
------------+---------+------------------------+---------------------------
_test_leofs | 9       | 05236                  | 2013-11-19 15:05:27 +0900
yosuke      | 1       | 8b994f6a320de1e61d1f   | 2013-11-19 15:05:45 +0900

add-bucket photo 05236
OK

get-buckets
bucket   | owner       | created at
---------+-------------+---------------------------
photo    | _test_leofs | 2013-11-19 15:06:00 +0900

chown-bucket photo 8b994f6a320de1e61d1f
OK

get-buckets
bucket   | owner  | created at
---------+--------+---------------------------
photo    | yosuke | 2013-11-19 15:06:00 +0900

@Licenser
Copy link
Contributor Author

Awesome! Thanks a lot mate!

Cheers,
Heinz Nikolaus Gies
heinz@licenser.net

@yosukehara
Copy link
Member

We have included it in LeoFS v0.16.5.
https://github.com/leo-project/leofs/tree/0.16.5

Thank you

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

2 participants