feat: 馃嵃 Implement `JoinGroup`, `GroupMember`, `SwitchGroupMemberRole` Resolvers
Created by: Tirokk
馃嵃 Pullrequest
Implement JoinGroup, GroupMember, and SwitchGroupMemberRole resolvers.
Issues
- relates #5194 (accidentely closed by renaming the branch to the name used here)
- fixes #5188 (closed)
- fixes #5189 (closed)
Todo
-
set updatedAttonull -
rename EnterGrouptoJoinGroup -
change name SwitchGroupMemberRoletoChangeGroupMemberRole -
implement ChangeGroupMemberRole-
add functionallity to join group with ChangeGroupMemberRole-
test this
-
-
-
test in general -
refactor for additinal describeblocks forin mode: XXX
-
-
test of JoinGrouprefactor to building up mode? -
test ChangeGroupMemberRole-
general tests -
check for has "updatedAt" newer as "createdAt"?- the GQL mutation would need this fields in the result for testing
- !!! we decided to do it not yet
-
shall a switch to a role which the a member already has through a permission error? - !!! we decided to through no error
-
can an owner be degraded? - shall an owner can switch the role of another owner to a lower role yet?
- or shall only an owner who gave the second owner the owner role downgrade themself?
- !!! we decided an owner can not be degraded yet
-
-
switch some group members role in seeding -
who can make a user joining a group -
the user themselfs in case of groups of type publicandclosed -
the admin/owner with an invite code in case of groups of type hidden, see #5204 (closed)-
we decided that a hidden group can not be joined - !!! we decide a hidden group can only be joined by
ChangeGroupMemberRoleby an owner (no admin)
- !!! we decide a hidden group can only be joined by
-
-
-
for changing english Authorisedto american englishAuthorizedall over the place, see issue #5203 (closed) -
cleanup: search Wolle