cryptomator / hub

Cryptomator Hub helps you manage vaults in large teams
GNU Affero General Public License v3.0
36 stars 8 forks source link

Promote Vault Members to Owners #214

Closed overheadhunter closed 10 months ago

overheadhunter commented 11 months ago

Please agree to the following

Summary

As a vault owner I want to change the role of other members

Motivation

After the #209 refactoring there is no other option to have multiple owners. Multiple owners are required, as a single owner might not be available at all time.

Considered Alternatives

No response

Anything else?

The backend already accepts PUT /{vaultId}/users/{userId}/?role=OWNER and PUT /{vaultId}/groups/{groupId}/?role=OWNER, however it does not distinguish between create and update requests yet (always returns 201). Not sure if this should be changed.

tobihagemann commented 10 months ago

Fixed in #211.