-
Notifications
You must be signed in to change notification settings - Fork 34
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
Implement Room Privacy Modes #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea and extension of struct's is correct..
Just some semantics of how it's supposed to work.
@@ -70,6 +74,23 @@ func (h *Handler) endpoints(_ context.Context, req *muxrpc.Request, snk *muxrpc. | |||
return err | |||
} | |||
|
|||
// cblgh: | |||
// * reject if key in deny list / DeniedKeysService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the DeniedKeysService
lookup needs to be added to roomsrv/init_network.go
, not here.
I agree that endpoints is a confusion name, it's really just potentiall endpoints and tangentiall to the actual connection building.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#89 🐈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i know, this is just a note to use it + remember what the service was called
edit: oh wait, maybe i misunderstood actually, hm. i'll have a look inside roomsrv/init_network.go
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two small things.
502f130
to
377dc79
Compare
This PR tracks the progress of implementing support for the SSB Rooms 2 concept of Privacy Modes.
The privacy modes control which types of users are allowed to perform certain actions, such as creating invites. In the open mode, any person may visit the room and create an invite to it. In the restricted mode, only existing room members with the roles of admin or moderator may invite new users.
Privacy modes:
Closes #96
Outstanding todos:
index.html
if mode is open?)