revork structures for hub
This commit is contained in:
@@ -62,11 +62,11 @@ func HandleHubCreate(response http.ResponseWriter, request *http.Request) {
|
||||
}
|
||||
hub.ChannelGroups[rootGrp.Id] = rootGrp
|
||||
|
||||
rootRole := &types.HubGlobalRole{
|
||||
Id: 0,
|
||||
Name: "root",
|
||||
Color: types.Rgba{255, 0, 0, 255},
|
||||
RolePermission: ^permission.Global(0),
|
||||
rootRole := &types.HubRole{
|
||||
Id: 0,
|
||||
Name: "root",
|
||||
Color: types.Rgba{255, 0, 0, 255},
|
||||
Permissions: ^permission.Global(0),
|
||||
}
|
||||
hub.GlobalRoles[rootRole.Id] = rootRole
|
||||
|
||||
|
||||
Reference in New Issue
Block a user