Skip to content
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

autolock #230

Open
jjsarton opened this issue Nov 11, 2024 · 8 comments
Open

autolock #230

jjsarton opened this issue Nov 11, 2024 · 8 comments

Comments

@jjsarton
Copy link

According to the README file:

- `autolock`: if true, the group will start locked and become locked
   whenever there are no clients with operator privileges;
 - `autokick`: if true, all clients will be kicked out whenever there are
   no clients with operator privileges; this is not recommended, prefer
   the `autolock` option instead;

Actually autolock has the same behaviour as bug #229 (autokick) I kann not login as op if autolock is set.

Version Galene with fix for bug #229

@jech
Copy link
Owner

jech commented Nov 11, 2024

Actually autolock has the same behaviour as bug #229 (autokick) I kann not login as op if autolock is set.

I cannot reproduce this. Could you please give intstructions for reproducing?

(To be fair, I'm quite tempted to remove both autolock and autokick, since I don't think anyone is using this functionality now that we have token management. Please yell if you disagree.)

@jjsarton
Copy link
Author

I think, that "autolock" may be removed, "autokick" may be sufficient for me. If "autokick" is set, user may not connect to the room and are kicked out if no more "op" are present.
The config is as follow:

{
	"users": { "op": {"password": "opsecret", "permissions": "op"}},
	"wildcard-user":{"password": {"type": "wildcard"}, "permissions": "present"},
	"codecs": ["vp8", "opus"],
	"public": true,
	 "autokick": true
}

In order to test this I launch a web browser and try to login as "op", I get a message telling that the room is locked.

@jech
Copy link
Owner

jech commented Nov 12, 2024

Your group definition says "autokick", not "autolock". Is that a typo?

@jjsarton
Copy link
Author

Your group definition says "autokick", not "autolock". Is that a typo?

Sorry this what a typo!

@jech
Copy link
Owner

jech commented Nov 12, 2024

I've copied your file, replaced "autokick" with "autolock", and logged in successfully as "op". Perhaps you made a typo somewhere?

@jjsarton
Copy link
Author

I will check this.

@jjsarton
Copy link
Author

I can login as OP, this work.
after this opening as normal user, I get Room locked. This may be OK only OP member can use this room.

@jech
Copy link
Owner

jech commented Nov 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants