Send user permissions to client.

We now maintain the user list in the serverConnection.
This commit is contained in:
Juliusz Chroboczek
2021-04-27 18:58:21 +02:00
parent d0ef6a2c0f
commit f0a39fca48
8 changed files with 120 additions and 54 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func (client *Client) Permissions() group.ClientPermissions {
return group.ClientPermissions{}
}
func (client *Client) PushClient(id, username string, add bool) error {
func (client *Client) PushClient(id, username string, permissions group.ClientPermissions, kind string) error {
return nil
}