fix(section_model): fix missing role to update the access (request)
Fixes #11091
This commit is contained in:
parent
d136d9bb67
commit
ba89daa737
|
@ -5,8 +5,6 @@ import json
|
||||||
import section_item, member_model
|
import section_item, member_model
|
||||||
import ../main/communities/tokens/models/token_item
|
import ../main/communities/tokens/models/token_item
|
||||||
|
|
||||||
import ../../../app_service/common/types
|
|
||||||
|
|
||||||
type
|
type
|
||||||
ModelRole {.pure.} = enum
|
ModelRole {.pure.} = enum
|
||||||
Id = UserRole + 1
|
Id = UserRole + 1
|
||||||
|
@ -292,6 +290,8 @@ QtObject:
|
||||||
ModelRole.CanJoin.int,
|
ModelRole.CanJoin.int,
|
||||||
ModelRole.Joined.int,
|
ModelRole.Joined.int,
|
||||||
ModelRole.Spectated.int,
|
ModelRole.Spectated.int,
|
||||||
|
ModelRole.Access.int,
|
||||||
|
ModelRole.EnsOnly.int,
|
||||||
ModelRole.Muted.int,
|
ModelRole.Muted.int,
|
||||||
ModelRole.MembersModel.int,
|
ModelRole.MembersModel.int,
|
||||||
ModelRole.PendingRequestsToJoinModel.int,
|
ModelRole.PendingRequestsToJoinModel.int,
|
||||||
|
|
Loading…
Reference in New Issue