mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
feat: asset storage (#1696)
* feat: remove assets * feat: minio implementation * fix: remove assets from tests * feat: minio implementation * feat: Env vars * fix: sprintf * fix: sprintf * Update internal/eventstore/repository/repository.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * fix: error handling Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -353,7 +353,6 @@ func TestCommandSide_AddUserGrant(t *testing.T) {
|
||||
[]string{"rolekey1"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewAddUserGrantUniqueConstraint("org1", "user1", "project1", "")),
|
||||
),
|
||||
),
|
||||
@@ -434,7 +433,6 @@ func TestCommandSide_AddUserGrant(t *testing.T) {
|
||||
[]string{"rolekey1"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewAddUserGrantUniqueConstraint("org1", "user1", "project1", "projectgrant1")),
|
||||
),
|
||||
),
|
||||
@@ -973,7 +971,6 @@ func TestCommandSide_ChangeUserGrant(t *testing.T) {
|
||||
[]string{"rolekey1", "rolekey2"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1069,7 +1066,6 @@ func TestCommandSide_ChangeUserGrant(t *testing.T) {
|
||||
[]string{"rolekey1", "rolekey2"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1294,7 +1290,6 @@ func TestCommandSide_DeactivateUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1507,7 +1502,6 @@ func TestCommandSide_ReactivateUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1679,7 +1673,6 @@ func TestCommandSide_RemoveUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user1", "project1", "")),
|
||||
),
|
||||
),
|
||||
@@ -1720,7 +1713,6 @@ func TestCommandSide_RemoveUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user1", "project1", "projectgrant1")),
|
||||
),
|
||||
),
|
||||
@@ -1906,7 +1898,6 @@ func TestCommandSide_BulkRemoveUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user1", "project1", "")),
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user2", "project2", "")),
|
||||
),
|
||||
@@ -1961,7 +1952,6 @@ func TestCommandSide_BulkRemoveUserGrant(t *testing.T) {
|
||||
),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user1", "project1", "projectgrant1")),
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user2", "project2", "projectgrant2")),
|
||||
),
|
||||
|
Reference in New Issue
Block a user