-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when unassign-group on user #329
Bug when unassign-group on user #329
Comments
I am having a similar, or maybe the same issue when configuring hop for a host. If I create a new host and set an existing host as a hop for it (both during creation and afterwards with update), I get an error "error: unsupported relations: HopID" whenever I:
I have built sshportal 1.19.3 using go 1.17.1 on commit 46970b6. |
Being unable to unassing groups and set hops really hinders the intended functionality. I hope this gets fixed soon. But until then, could you please point out a commit which I could build and where these problems weren't present yet? |
+1, any possible workaround? |
this problem with the last version is not working, the problem persist. config> user update --unassign-group mygroup myuser debug mode (server): false any possible workaround? thanks |
Same problem here, would be great if that could be fixed 'cause I really like that software :-) |
This particular problem is fixed in the following fork: UPD: here is a particular commit with the fix: db67f23 |
I have the same issue as @Helyk
Although @Helyk reports a fix in #329 (comment)
It's not that obvious whether that fix applies to the "HopID" error. Personally, I think that sshportal is abandoned enough that it's worth migrating to something that's maintained, and more usable. |
Hello, I can confirm that I'm having an issue with HopId even with my fix. I'll try to find a solution in the meantime, also I believe there are some fixes that could benefit the project, I'll push some PRs. |
fix "unsupported relations: Roles" error when using `unassign-group` on a user closes moul#329
Likewise, also having this issue. @vdombrovski Did you ever get your fix to work? |
@Manouchehri yes I did, you can either cherry-pick from my branch, but I'll also make a PR next week. |
Ah thanks, got 1f3e507 working; it turns out I was doing something wrong with my config, your fix was good the entire time. =D |
Hi,
I have a bug when i try to remove group on my user sshportal.
Actual Result / Problem
`user update --unassign-group my_group my_user
error: unsupported relations: Roles`
Expected Result / Suggestion
I expect that group was removed
Some context
docker version of sshportal
image :
moul/sshportal latest 231c35fcc3c2 3 weeks ago 24.8MB
OS Type: linux
OS Architecture: amd64
Go routines: 12
Go version (build): go1.17.6
DB Driver: sqlite3
DB Conn: /var/lib/sshportal/sshportal.db
...
Best regards.
The text was updated successfully, but these errors were encountered: