Merge branch 'feature/additional-roles' into feature/user-info-with-role-permissions

This commit is contained in:
Pedro Costa
2025-04-16 17:03:15 +01:00
43 changed files with 530 additions and 217 deletions

View File

@@ -1338,7 +1338,7 @@ func TestUserAccountPeersUpdate(t *testing.T) {
ID: "groupA",
Name: "GroupA",
Peers: []string{peer1.ID, peer2.ID, peer3.ID},
})
}, true)
require.NoError(t, err)
policy := &types.Policy{
@@ -1353,7 +1353,7 @@ func TestUserAccountPeersUpdate(t *testing.T) {
},
},
}
_, err = manager.SavePolicy(context.Background(), account.Id, userID, policy)
_, err = manager.SavePolicy(context.Background(), account.Id, userID, policy, true)
require.NoError(t, err)
updMsg := manager.peersUpdateManager.CreateChannel(context.Background(), peer1.ID)