moul / sshportal

:tophat: simple, fun and transparent SSH (and telnet) bastion server
https://manfred.life/sshportal
Apache License 2.0
1.8k stars 134 forks source link

User "Admin" is added to each usergroup created. Unable to remove. #455

Open systemmonkey42 opened 1 year ago

systemmonkey42 commented 1 year ago

Actual Result / Problem

When I create a usergroup, the user admin is automatically added to the new group, and cannot be removed.

Expected Result / Suggestion

I would expect to be able to create groups without "admin" being automatically added to the group.

I would expect to be able to remove groups from the "admin" user without errors

config> user update --unassign-group NewGroup admin
error: unsupported relations: Roles

To be fair, the error occurs for all users/usergroups. Removing a user from a group does not work.

Some context

Any screenshot to share? Version: latest from git/master Go 1.18.6 (via docker build) ...