h
h copied to clipboard
Prevent the sole owner of a group from downgrading their own role
See also: https://github.com/hypothesis/h/issues/9132. If we're going to prevent the sole owner of a group from leaving the group then we also need to prevent them from downgrading their own role to something lower than owner.