Neseek77 / mconf

Automatically exported from code.google.com/p/mconf
0 stars 0 forks source link

Add the "invite" feature #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A room should have an action such as "room/invite" to be used to invite someone 
to the conference.

The invited can be registered or not.
If the invited is logged, it acts like join.
If the invited is not logged, should ask for a name and, optionally, a password 
(if the room is private).

Original issue reported on code.google.com by leonardo...@gmail.com on 13 Apr 2011 at 5:00

GoogleCodeExporter commented 9 years ago

Original comment by leonardo...@gmail.com on 14 Apr 2011 at 3:37

GoogleCodeExporter commented 9 years ago
Invite:
- If there is a user logged and the room is private, acts like #join
- If the room is private or there is no user logged, renders a view to ask for 
a name and password

TODO:
- When the user is logged an trying to join a private room, shouldn't ask for a 
name.
- When an anonymous user tries to join a public room, shouldn't ask for a 
password.

Original comment by leonardo...@gmail.com on 19 Apr 2011 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by leonardo...@gmail.com on 26 Apr 2011 at 2:50

GoogleCodeExporter commented 9 years ago
New behavior:
- #invite:
  - Used when a room requires a password or when there's no user logged.
  - Renders a view to require a password and/or user name.
- #join:
  - Requires a logged user and does not renders a view.
  - The current user must have a role in the target room, otherwise falls back to #invite.

Original comment by leonardo...@gmail.com on 28 Apr 2011 at 1:31