Skip to content

[BUG] Don't allow first admin to revoque its own admin rights #1349

@watchoutfreedom

Description

@watchoutfreedom

🐞 Describe the Bug

A clear and concise description of what the bug is.


🔍 Steps to Reproduce

Steps to reproduce the behavior:

  1. after creating a network, With the admin account, Go to profile
  2. Click on ...
  3. Click on revoque admin rights
  4. No one can admin the network any more.

🤔 Expected Behavior

Block revoque administrator if there's just one admin, or if this admin is the first

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions