mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 06:17:25 +00:00
fix(web-app-seaweedfs): grant consumers WriteAcp on their bucket
SeaweedFS 4.49 (seaweedfs/seaweedfs#11592) authorizes a PutObject that carries x-amz-acl as s3:PutObjectAcl as well. The consumer identities only held Read/Write/List/Tagging, so every app that sends an ACL on upload (Nextcloud, Fider and Pixelfed with private, Mastodon, PeerTube, BookWyrm and Baserow with public-read) got AccessDenied after the 4.48 -> 4.51 bump in #1226. Main run 40401200083 failed Fider#0, BookWyrm#0, Baserow#0, Pixelfed#0 and Nextcloud#0/#4/#8 on it. Add WriteAcp to the s3.json identities and to the sidecar s3.configure grant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
039505d757
commit
ec7d4c9042
4 files changed
+7
-4
No files matched your search
@@ -81,7 +81,7 @@ class TestSeaweedfsSidecarScriptFilter(unittest.TestCase):
|
||||
self.assertLess(create, grant)
|
||||
self.assertIn("-access_key AKID", script)
|
||||
self.assertIn("-secret_key SEC", script)
|
||||
self.assertIn("-actions Read,Write,List,Tagging", script)
|
||||
self.assertIn("-actions Read,Write,WriteAcp,List,Tagging", script)
|
||||
|
||||
def test_keeps_server_in_foreground(self):
|
||||
script = seaweedfs_sidecar_script("app", 8333, "AK", "SK")
|
||||
|
||||
Reference in new issue
Block a user