Cool, this way you could have a private store for each user. I wonder if you could also use this for roles and federated signups somehow. Also maybe you can enable primitive sharing if you use wildcards on both sides.
Yes each user can have a private bucket and only this one. I am not this much into policies and I was lucky to get this template.
Maybe it gives you an idea how to modify it for your needs. If you found a solution, please share ☺️
Hmm…this should work but I do have a concern on it based on my experience with AWS. Maybe this is different with minio though.
In AWS, S3 bucket names are globally unique. Not just to your AWS account, but across ALL S3 buckets period. So let’s say you have a username of “test” and use that policy. If that user attempts to create a bucket and that bucket name is taken, well that user is out of luck.
Obviously if minio doesn’t require globally unique bucket names you’re probably fine, but otherwise this could realistically become a problem.
In MinIO you can selfhost the server. I named a bucket and user alex and I am pretty sure someone had the same idea 😁
Bucket and usernames don't need to be globally unique in MinIO. I tried the policy and it worked pretty good ☺️
Ah, neat! Yeah that would work then. I'd hope that your usernames are unique in your self-hosted setup, so that should work just fine. Very nice!
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!