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

Add the "invite" feature #42

Closed
mconf-daileon opened this issue May 4, 2016 · 4 comments
Closed

Add the "invite" feature #42

mconf-daileon opened this issue May 4, 2016 · 4 comments

Comments

@mconf-daileon
Copy link


Author Name: Leonardo Daronco (Leonardo Daronco)
Original Redmine Issue: 146, http://dev.mconf.org/redmine/issues/146

Original Assignee: Leonardo Daronco


@google user: leonardo...@gmail.com@

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).

@mconf-daileon
Copy link
Author


Original Redmine Comment
Author Name: Leonardo Daronco (Leonardo Daronco)
Original Date: 2011-04-14T03:00:00Z


@google user: leonardo...@gmail.com@

@mconf-daileon
Copy link
Author


Original Redmine Comment
Author Name: Leonardo Daronco (Leonardo Daronco)
Original Date: 2011-04-19T03:00:00Z


@google user: leonardo...@gmail.com@

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.

@mconf-daileon
Copy link
Author


Original Redmine Comment
Author Name: Leonardo Daronco (Leonardo Daronco)
Original Date: 2011-04-26T03:00:00Z


@google user: leonardo...@gmail.com@

@mconf-daileon
Copy link
Author


Original Redmine Comment
Author Name: Leonardo Daronco (Leonardo Daronco)
Original Date: 2011-04-28T03:00:00Z


@google user: leonardo...@gmail.com@

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.

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

No branches or pull requests

1 participant