Closed chibenwa closed 2 months ago
@chibenwa looks good to me. This kind of topic looks good as an intern topic indeed
The way I would see it, nothing too big:
ADR => QUAN
webadmin refactoring => add a query param on add member route so that an admin can promote/unpromote a manager. Get the list of members via webadmin should show a list of objects with username and role (manager, member) belonging to the team mailbox RENE
TeamMembers/get method (managers and normal members should be able to call) RENE
TeamMembers/set update : partial update, allows to add/remove normal members. A manager can't promote/unpromote members to be managers for now (only admin via webadmin). Manager can't remove an other manager as well from the list. Should we allow full reset as well? RENE
Should we allow full reset as well?
what is "full reset"?
what is "full reset"?
set (fully) update (not partial update) I think
no full reset for now => complicated with case cannot promote/unpromote managers
How can we resolve the "teamMailboxId" e.g. "id": "id-of-any-mailbox-belonging-to-the-team-mailbox"
to the actual team maibox name? Given that today our TeamMailboxRepository relies on TeamMailbox name.
Can we use the team mailbox name as the id? Otherwise likely we would need to do some refactoring or introduce some table mapping id -> team mailbox name?
Thoughts: do we need a new capability for this jmap extension?
Thoughts: do we need a new capability for this jmap extension?
Likely yes IMO. That would help mobile team to know if it is TMail server with the team mailbox feature or just a normal JMAP server.
User story
Team mailbox manager
As an admin I can promote 0-n team mailbox members as manager (using webadmin).
Technically those team mailbox members are identified via the right
a
.All team mailbox members can see other members
As a team mailbox member in team mailbox properties, I can see the list of other users that can access the team mailbox.
Note that all members sees if other members are managers or not.
Team mailbox managers rights
A team mailbox manager can add/remove regular members.
In a V1 of team mailbox management, team mailbox mamager cannot promote/unpromote other team mailbox manager / himself (forbidden to touch right
a
.Technically:
Webadmin modification to give write
a
to new usersWould add
bob@domain.tld
as a member and give him righta
Webadmin modification to show roles:
(Same as create member)
(Same as create member)
Feedback: @dieptran88 @hoangdat @Arsnael
@dieptran88 could you create a user story for listing members of a team mailbox, and for manager to add/remove members on tmail-flutter side?
@Arsnael Good intern topic?