From 1a05c845853111a0ded55ba038cd2ef6f7e9b39f Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Wed, 16 Aug 2023 12:14:53 +0200 Subject: [PATCH] chore: remove `ROLE_MANAGE_USERS` and `ROLE_MODERATE_CONTENT` closes: #3895 --- protocol/communities/community.go | 41 +-- protocol/communities/roles_authorization.go | 20 +- ...senger_delete_message_for_everyone_test.go | 2 +- protocol/protobuf/communities.pb.go | 295 +++++++++--------- protocol/protobuf/communities.proto | 7 +- 5 files changed, 160 insertions(+), 205 deletions(-) diff --git a/protocol/communities/community.go b/protocol/communities/community.go index e4206fdf1..9fb0310eb 100644 --- a/protocol/communities/community.go +++ b/protocol/communities/community.go @@ -1114,12 +1114,6 @@ func manageCommunityRoles() map[protobuf.CommunityMember_Roles]bool { return roles } -func manageUsersRole() map[protobuf.CommunityMember_Roles]bool { - roles := manageCommunityRoles() - roles[protobuf.CommunityMember_ROLE_MANAGE_USERS] = true - return roles -} - func ownerRole() map[protobuf.CommunityMember_Roles]bool { roles := make(map[protobuf.CommunityMember_Roles]bool) roles[protobuf.CommunityMember_ROLE_OWNER] = true @@ -1138,12 +1132,6 @@ func tokenMasterRole() map[protobuf.CommunityMember_Roles]bool { return roles } -func moderateContentRole() map[protobuf.CommunityMember_Roles]bool { - roles := manageCommunityRoles() - roles[protobuf.CommunityMember_ROLE_MODERATE_CONTENT] = true - return roles -} - func (o *Community) MemberRole(pubKey *ecdsa.PublicKey) protobuf.CommunityMember_Roles { if o.IsMemberOwner(pubKey) { return protobuf.CommunityMember_ROLE_OWNER @@ -1151,10 +1139,6 @@ func (o *Community) MemberRole(pubKey *ecdsa.PublicKey) protobuf.CommunityMember return protobuf.CommunityMember_ROLE_TOKEN_MASTER } else if o.IsMemberAdmin(pubKey) { return protobuf.CommunityMember_ROLE_ADMIN - } else if o.CanManageUsers(pubKey) { - return protobuf.CommunityMember_ROLE_MANAGE_USERS - } else if o.CanDeleteMessageForEveryone(pubKey) { - return protobuf.CommunityMember_ROLE_MODERATE_CONTENT } return protobuf.CommunityMember_ROLE_NONE @@ -1708,33 +1692,14 @@ func (o *Community) CanManageUsers(pk *ecdsa.PublicKey) bool { o.mutex.Lock() defer o.mutex.Unlock() - if o.IsControlNode() { - return true - } - - if !o.hasMember(pk) { - return false - } - - roles := manageUsersRole() - return o.hasRoles(pk, roles) - + return o.IsPrivilegedMember(pk) } func (o *Community) CanDeleteMessageForEveryone(pk *ecdsa.PublicKey) bool { o.mutex.Lock() defer o.mutex.Unlock() - if o.IsControlNode() { - return true - } - - if !o.hasMember(pk) { - return false - } - - roles := moderateContentRole() - return o.hasRoles(pk, roles) + return o.IsPrivilegedMember(pk) } func (o *Community) isMember() bool { @@ -1772,7 +1737,7 @@ func (o *Community) nextClock() uint64 { func (o *Community) CanManageUsersPublicKeys() ([]*ecdsa.PublicKey, error) { var response []*ecdsa.PublicKey - roles := manageUsersRole() + roles := manageCommunityRoles() for pkString, member := range o.config.CommunityDescription.Members { if o.memberHasRoles(member, roles) { pk, err := common.HexToPubkey(pkString) diff --git a/protocol/communities/roles_authorization.go b/protocol/communities/roles_authorization.go index e59eacb71..ad32a88d0 100644 --- a/protocol/communities/roles_authorization.go +++ b/protocol/communities/roles_authorization.go @@ -28,12 +28,10 @@ var tokenMasterAuthorizedEventTypes = append(adminAuthorizedEventTypes, []protob var ownerAuthorizedEventTypes = tokenMasterAuthorizedEventTypes var rolesToAuthorizedEventTypes = map[protobuf.CommunityMember_Roles][]protobuf.CommunityEvent_EventType{ - protobuf.CommunityMember_ROLE_NONE: []protobuf.CommunityEvent_EventType{}, - protobuf.CommunityMember_ROLE_OWNER: ownerAuthorizedEventTypes, - protobuf.CommunityMember_ROLE_MANAGE_USERS: []protobuf.CommunityEvent_EventType{}, - protobuf.CommunityMember_ROLE_MODERATE_CONTENT: []protobuf.CommunityEvent_EventType{}, - protobuf.CommunityMember_ROLE_ADMIN: adminAuthorizedEventTypes, - protobuf.CommunityMember_ROLE_TOKEN_MASTER: tokenMasterAuthorizedEventTypes, + protobuf.CommunityMember_ROLE_NONE: []protobuf.CommunityEvent_EventType{}, + protobuf.CommunityMember_ROLE_OWNER: ownerAuthorizedEventTypes, + protobuf.CommunityMember_ROLE_ADMIN: adminAuthorizedEventTypes, + protobuf.CommunityMember_ROLE_TOKEN_MASTER: tokenMasterAuthorizedEventTypes, } var adminAuthorizedPermissionTypes = []protobuf.CommunityTokenPermission_Type{ @@ -51,12 +49,10 @@ var ownerAuthorizedPermissionTypes = append(tokenMasterAuthorizedPermissionTypes }...) var rolesToAuthorizedPermissionTypes = map[protobuf.CommunityMember_Roles][]protobuf.CommunityTokenPermission_Type{ - protobuf.CommunityMember_ROLE_NONE: []protobuf.CommunityTokenPermission_Type{}, - protobuf.CommunityMember_ROLE_OWNER: ownerAuthorizedPermissionTypes, - protobuf.CommunityMember_ROLE_MANAGE_USERS: []protobuf.CommunityTokenPermission_Type{}, - protobuf.CommunityMember_ROLE_MODERATE_CONTENT: []protobuf.CommunityTokenPermission_Type{}, - protobuf.CommunityMember_ROLE_ADMIN: adminAuthorizedPermissionTypes, - protobuf.CommunityMember_ROLE_TOKEN_MASTER: tokenMasterAuthorizedPermissionTypes, + protobuf.CommunityMember_ROLE_NONE: []protobuf.CommunityTokenPermission_Type{}, + protobuf.CommunityMember_ROLE_OWNER: ownerAuthorizedPermissionTypes, + protobuf.CommunityMember_ROLE_ADMIN: adminAuthorizedPermissionTypes, + protobuf.CommunityMember_ROLE_TOKEN_MASTER: tokenMasterAuthorizedPermissionTypes, } func canRolesPerformEvent(roles []protobuf.CommunityMember_Roles, eventType protobuf.CommunityEvent_EventType) bool { diff --git a/protocol/messenger_delete_message_for_everyone_test.go b/protocol/messenger_delete_message_for_everyone_test.go index e2dfd1f93..e11f08b48 100644 --- a/protocol/messenger_delete_message_for_everyone_test.go +++ b/protocol/messenger_delete_message_for_everyone_test.go @@ -82,7 +82,7 @@ func (s *MessengerDeleteMessageForEveryoneSuite) TestDeleteMessageForEveryone() response, err := s.admin.AddRoleToMember(&requests.AddRoleToMember{ CommunityID: community.ID(), User: common.PubkeyToHexBytes(s.moderator.IdentityPublicKey()), - Role: protobuf.CommunityMember_ROLE_MODERATE_CONTENT, + Role: protobuf.CommunityMember_ROLE_ADMIN, }) s.Require().NoError(err) s.Require().Len(response.Communities(), 1) diff --git a/protocol/protobuf/communities.pb.go b/protocol/protobuf/communities.pb.go index 110becc1c..8805c27ae 100644 --- a/protocol/protobuf/communities.pb.go +++ b/protocol/protobuf/communities.pb.go @@ -23,30 +23,24 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CommunityMember_Roles int32 const ( - CommunityMember_ROLE_NONE CommunityMember_Roles = 0 - CommunityMember_ROLE_OWNER CommunityMember_Roles = 1 - CommunityMember_ROLE_MANAGE_USERS CommunityMember_Roles = 2 - CommunityMember_ROLE_MODERATE_CONTENT CommunityMember_Roles = 3 - CommunityMember_ROLE_ADMIN CommunityMember_Roles = 4 - CommunityMember_ROLE_TOKEN_MASTER CommunityMember_Roles = 5 + CommunityMember_ROLE_NONE CommunityMember_Roles = 0 + CommunityMember_ROLE_OWNER CommunityMember_Roles = 1 + CommunityMember_ROLE_ADMIN CommunityMember_Roles = 4 + CommunityMember_ROLE_TOKEN_MASTER CommunityMember_Roles = 5 ) var CommunityMember_Roles_name = map[int32]string{ 0: "ROLE_NONE", 1: "ROLE_OWNER", - 2: "ROLE_MANAGE_USERS", - 3: "ROLE_MODERATE_CONTENT", 4: "ROLE_ADMIN", 5: "ROLE_TOKEN_MASTER", } var CommunityMember_Roles_value = map[string]int32{ - "ROLE_NONE": 0, - "ROLE_OWNER": 1, - "ROLE_MANAGE_USERS": 2, - "ROLE_MODERATE_CONTENT": 3, - "ROLE_ADMIN": 4, - "ROLE_TOKEN_MASTER": 5, + "ROLE_NONE": 0, + "ROLE_OWNER": 1, + "ROLE_ADMIN": 4, + "ROLE_TOKEN_MASTER": 5, } func (x CommunityMember_Roles) String() string { @@ -189,13 +183,12 @@ func (m *Grant) GetClock() uint64 { } type CommunityMember struct { - Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` - // deprecated, do not put accounts here - RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` - LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` // Deprecated: Do not use. + LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CommunityMember) Reset() { *m = CommunityMember{} } @@ -230,6 +223,7 @@ func (m *CommunityMember) GetRoles() []CommunityMember_Roles { return nil } +// Deprecated: Do not use. func (m *CommunityMember) GetRevealedAccounts() []*RevealedAccount { if m != nil { return m.RevealedAccounts @@ -1674,133 +1668,134 @@ func init() { } var fileDescriptor_f937943d74c1cd8b = []byte{ - // 2035 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0xcf, 0x48, 0xb2, 0x2d, 0x3d, 0x49, 0xb6, 0xdc, 0x49, 0xec, 0xb1, 0x93, 0x6c, 0x14, 0x01, - 0x85, 0x77, 0x29, 0x94, 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x3b, 0x8f, - 0x49, 0x28, 0x8c, 0x47, 0x9a, 0xb8, 0xe2, 0xee, 0xda, 0x55, 0x77, 0xef, 0x01, 0xe8, 0x16, 0xc9, - 0x9b, 0xc5, 0xcc, 0x8c, 0xc9, 0x15, 0xcd, 0x39, 0x89, 0x59, 0x0b, 0xc3, 0xee, 0x55, 0x4f, 0x9f, - 0x51, 0x72, 0x49, 0xff, 0x63, 0xdc, 0xb4, 0x7e, 0x00, 0x0f, 0x32, 0xe9, 0x49, 0x57, 0x80, 0xe5, - 0x6e, 0xec, 0x1a, 0xed, 0x79, 0x6b, 0x0b, 0xcb, 0xd6, 0xfe, 0xc9, 0x82, 0xea, 0x73, 0xf2, 0x62, - 0x96, 0xb4, 0x4e, 0x0d, 0x28, 0x72, 0x76, 0x6e, 0xfe, 0xb2, 0x92, 0x9f, 0x32, 0xd1, 0x08, 0x36, - 0xa1, 0x5c, 0x90, 0xc9, 0x54, 0xed, 0x2f, 0xe1, 0x05, 0x43, 0x1e, 0x2a, 0xa2, 0x29, 0xf3, 0x55, - 0x78, 0x6b, 0x58, 0x13, 0x6a, 0x32, 0x27, 0xf3, 0x71, 0x44, 0x12, 0xbc, 0x24, 0xa4, 0x5e, 0x09, - 0x02, 0x16, 0x9e, 0x9b, 0xd0, 0x26, 0xa4, 0x4c, 0x97, 0x17, 0x84, 0x5f, 0xa8, 0x80, 0xd6, 0xb0, - 0xfa, 0x46, 0x2d, 0xa8, 0x89, 0x0b, 0x16, 0x07, 0xc7, 0x24, 0x96, 0x71, 0x30, 0xf3, 0x62, 0x8e, - 0xd7, 0xfa, 0x05, 0xec, 0x67, 0x1c, 0x48, 0xc2, 0x92, 0xf4, 0x45, 0x36, 0x6c, 0x5c, 0xd2, 0x58, - 0x96, 0x23, 0xe5, 0x53, 0x1d, 0x27, 0xa4, 0x3c, 0xef, 0x2c, 0x8e, 0x26, 0xc6, 0x25, 0xf5, 0x2d, - 0xc7, 0x3f, 0x11, 0x99, 0x3f, 0xaa, 0x0a, 0x22, 0x92, 0xe7, 0xcb, 0xb1, 0x9a, 0x86, 0x62, 0xa4, - 0x9c, 0x94, 0x53, 0x58, 0x0d, 0xe7, 0x78, 0xad, 0xdf, 0x5b, 0x80, 0xae, 0x1a, 0xf0, 0x92, 0x83, - 0x3f, 0x86, 0x72, 0xda, 0xf7, 0x69, 0x44, 0x67, 0x0a, 0xf3, 0xf5, 0xae, 0xe0, 0x74, 0x17, 0x7a, - 0x4f, 0x6a, 0x50, 0x32, 0x49, 0xf6, 0xb8, 0xbd, 0x52, 0x03, 0x4e, 0xc5, 0x5a, 0x7f, 0xb6, 0xe0, - 0xfe, 0x55, 0xdd, 0xbd, 0x30, 0xa0, 0x3f, 0x7b, 0x8d, 0x58, 0x7d, 0x71, 0x93, 0x77, 0x60, 0x3d, - 0x3a, 0x3b, 0xe3, 0x54, 0x98, 0xe8, 0x1a, 0x4a, 0xde, 0x02, 0x67, 0x3f, 0xa7, 0xe6, 0x1f, 0x4d, - 0xf5, 0xbd, 0x8c, 0x91, 0x52, 0x8a, 0x91, 0xd6, 0x5f, 0x2c, 0xd8, 0xbd, 0xc6, 0x0b, 0xf4, 0x14, - 0xca, 0x66, 0x42, 0x49, 0xfa, 0x9d, 0x87, 0x2f, 0xb3, 0x51, 0x6d, 0x6a, 0x1b, 0xc2, 0xb4, 0x3e, - 0xa9, 0x82, 0xfd, 0x33, 0xa8, 0xe7, 0x96, 0x56, 0x74, 0x12, 0x1f, 0xe5, 0x3b, 0x89, 0xb7, 0x5f, - 0x79, 0x58, 0x1a, 0x95, 0x45, 0x67, 0xf1, 0xb8, 0xfe, 0x79, 0xb5, 0xfd, 0xf0, 0x83, 0x64, 0xe7, - 0xe9, 0xba, 0xfa, 0xfa, 0xc6, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x28, 0xf1, 0xb6, 0x6d, 0x8a, - 0x16, 0x00, 0x00, + // 2052 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x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, 0xbd, 0xa2, 0x18, 0xbd, + 0x00, 0xed, 0xc1, 0xa6, 0x3e, 0xcc, 0x2c, 0xb6, 0x8c, 0x83, 0x2a, 0xde, 0x10, 0x64, 0x2f, 0x40, + 0xb7, 0xa0, 0xec, 0x8f, 0x23, 0xff, 0x95, 0x59, 0x6a, 0x19, 0x07, 0x25, 0xac, 0x08, 0xeb, 0x4f, + 0x05, 0xd8, 0xee, 0x26, 0xba, 0xfb, 0x52, 0x09, 0xfa, 0x16, 0x94, 0xe3, 0x68, 0x4c, 0x98, 0x69, + 0xb4, 0x8a, 0x07, 0x5b, 0x87, 0x0f, 0xda, 0x89, 0x1f, 0xed, 0x25, 0xc9, 0x36, 0x16, 0x62, 0x58, + 0x49, 0xa3, 0x4f, 0x60, 0x27, 0x26, 0x97, 0xc4, 0x1b, 0x93, 0xc0, 0xf5, 0x7c, 0x3f, 0x9a, 0x85, + 0x9c, 0x99, 0x85, 0x56, 0xf1, 0xa0, 0x76, 0x78, 0x67, 0xa1, 0x02, 0x6b, 0x91, 0x8e, 0x92, 0x78, + 0x5a, 0x30, 0x0d, 0xdc, 0x8c, 0xf3, 0x4c, 0x86, 0x1e, 0xc1, 0xce, 0xd8, 0x63, 0xdc, 0x9d, 0x4d, + 0x03, 0x8f, 0x13, 0x57, 0x19, 0x5e, 0x94, 0x86, 0x6f, 0x8b, 0x85, 0x13, 0xc9, 0xef, 0x4a, 0x17, + 0x7e, 0x69, 0x40, 0x59, 0x1a, 0x82, 0x1a, 0x50, 0xc5, 0x83, 0x17, 0xb6, 0xeb, 0x0c, 0x1c, 0xbb, + 0x79, 0x03, 0x6d, 0x01, 0x48, 0x72, 0xf0, 0xd2, 0xb1, 0x71, 0xd3, 0x48, 0xe9, 0xce, 0x51, 0xbf, + 0xe7, 0x34, 0x4b, 0xe8, 0x36, 0xec, 0x48, 0x7a, 0x34, 0x78, 0x6e, 0x3b, 0x6e, 0xbf, 0x33, 0x1c, + 0xd9, 0xb8, 0x59, 0xb6, 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d3, 0x77, 0x63, 0xfd, 0xcd, 0x80, 0xb7, 0xd6, 0xc3, 0x08, 0x13, 0x36, + 0x8d, 0x42, 0x46, 0xae, 0x30, 0xf9, 0x3b, 0x50, 0x4d, 0x8f, 0x7a, 0x4d, 0x0a, 0xca, 0x14, 0x64, + 0xbc, 0xd8, 0x20, 0x9e, 0x9b, 0x18, 0xe9, 0x64, 0x1f, 0x50, 0x94, 0x08, 0x4f, 0x69, 0x71, 0xde, + 0x79, 0xec, 0x85, 0x5c, 0x7b, 0xa4, 0x88, 0x15, 0x77, 0xcb, 0xab, 0xee, 0xde, 0x07, 0x50, 0x2d, + 0x92, 0x3b, 0x8b, 0xa9, 0x1e, 0x93, 0xab, 0x8a, 0x73, 0x12, 0x53, 0x0b, 0xc3, 0xde, 0xaa, 0xa7, + 0x2f, 0x88, 0x77, 0x49, 0xfe, 0x6d, 0xdc, 0x58, 0xdf, 0x87, 0x87, 0x99, 0xf4, 0xa4, 0x2a, 0xc0, + 0x72, 0x37, 0x76, 0x85, 0xf6, 0xbc, 0xb5, 0x85, 0x65, 0x6b, 0xff, 0x60, 0x40, 0xed, 0xa5, 0xf7, + 0x6a, 0x96, 0xb4, 0x4e, 0x4d, 0x28, 0x32, 0x7a, 0xae, 0xff, 0xbb, 0x12, 0x9f, 0x22, 0xd1, 0x70, + 0x3a, 0x21, 0x8c, 0x7b, 0x93, 0xa9, 0xdc, 0x5f, 0xc2, 0x0b, 0x86, 0x38, 0x94, 0x47, 0x53, 0xea, + 0xcb, 0xf0, 0xd6, 0xb1, 0x22, 0xe4, 0x64, 0xee, 0xcd, 0xc7, 0x91, 0x97, 0xe0, 0x25, 0x21, 0xd5, + 0x4a, 0x10, 0xd0, 0xf0, 0x5c, 0x87, 0x36, 0x21, 0x45, 0xba, 0xbc, 0xf0, 0xd8, 0x85, 0x0c, 0x68, + 0x1d, 0xcb, 0x6f, 0x64, 0x41, 0x9d, 0x5f, 0xd0, 0x38, 0x38, 0xf6, 0x62, 0x11, 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xa3, 0xb2, 0xe8, 0x2c, 0x9e, 0x36, 0x3e, 0xaf, 0xb5, 0x1f, 0xbf, 0x9f, 0xec, + 0x3c, 0xdd, 0x90, 0x5f, 0xdf, 0xf8, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x4d, 0xe1, 0xbc, + 0x93, 0x16, 0x00, 0x00, } diff --git a/protocol/protobuf/communities.proto b/protocol/protobuf/communities.proto index 3dabadd9c..70cd2e544 100644 --- a/protocol/protobuf/communities.proto +++ b/protocol/protobuf/communities.proto @@ -15,16 +15,15 @@ message Grant { message CommunityMember { enum Roles { + reserved 2, 3; + reserved "ROLE_MANAGE_USERS", "ROLE_MODERATE_CONTENT"; ROLE_NONE = 0; ROLE_OWNER = 1; - ROLE_MANAGE_USERS = 2; - ROLE_MODERATE_CONTENT = 3; ROLE_ADMIN = 4; ROLE_TOKEN_MASTER = 5; } repeated Roles roles = 1; - // deprecated, do not put accounts here - repeated RevealedAccount revealed_accounts = 2; + repeated RevealedAccount revealed_accounts = 2 [deprecated = true]; uint64 last_update_clock = 3; }