MovieNight icon indicating copy to clipboard operation
MovieNight copied to clipboard

Room access restrictions

Open zorchenhimer opened this issue 5 years ago • 1 comments

There should be three levels of access to room access:

  • [x] Public
  • [x] Pin/Password
  • [ ] Request and grant

Rabbit had the first and third, but the pin/password option would be a useful middle ground between the two. Default access level should be configurable in the settings file and modifiable by an admin via a command in chat (possibly mods too?). Changing the access level in an active room should not kick any users currently connected. Full definitions for each access type are as follows:

Public

Allow access to anybody with the main URL. Video is loaded on page load, and is allowed to chat when a username is entered.

Pin/Password

Landing page is a simple pin or password entry form (with a username to avoid another input step for chat). Video and chat are loaded after a correct pin or password is entered. The pin or password will be global for the room and configurable by both the settings file and a command.

Maybe add the possibility of appending the pin to the URL as a GET variable (eg, ?pin=12345). Following the link will bring up the same landing page but with the pin pre-filled, leaving only a name to be entered.

Request/grant

Landing page is a simple name entry form and a button to request access to the room. Once submitted, mods and admins in the room will be notified and given the option to allow or deny access to the user requesting access, either by a pop-up of some sort or a command (command route might be a bit unwieldy for the mod/admin however).


I would personally like to use the pin/password method, but I do know some other streamers that I believe would prefer the Request/grant method instead.

zorchenhimer avatar Mar 14 '19 18:03 zorchenhimer

Appending the PIN to the URL has been added with e051cade7865717466afe577298d9e9dd00ce728. All that's left for this issue is the request/grant workflow. I'm not entirely sure if I still want to do that though.

zorchenhimer avatar Jan 21 '21 16:01 zorchenhimer