moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
935 stars 295 forks source link

Unable to edit access to specific levels #488

Closed tomjones1977 closed 2 years ago

tomjones1977 commented 2 years ago

I have created three levels, (0, 1, 2) and set level 1 and 2 as managed. However, it appears I can't manually add/remove access to teams, when I hit save and open the edit box again, the team lists have gone back to the previous settings.

I'd like to be able to add specific teams to different levels without them having to complete previous levels - is this possible with the Managed option?

eljeffeg commented 2 years ago

Yes, that's how it should work. Are you getting any errors on the backend terminal log or the front end browser console? I tried to test this myself and I couldn't replicate the issue.

tomjones1977 commented 2 years ago

No errors in the container logs when trying to edit the membership for the level. Can the log level be increased for the container? I can try again that way.

eljeffeg commented 2 years ago

I started it up in the docker container and was able to reproduce the issue. I'll investigate why that might be different.

eljeffeg commented 2 years ago

Pushed a fix - Thanks for the report

tomjones1977 commented 2 years ago

Tested - confirmed working after a container image update. Thank you for the rapid response!

tomjones1977 commented 2 years ago

Is there somewhere to sponsor the project? I couldn't see anything on the docs/wiki/homepage?

eljeffeg commented 2 years ago

No, sorry - appreciate the thank you. 👍