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

[NEW] Option to allow to signup as anonymous #6797

Merged
merged 4 commits into from
Apr 27, 2017

Conversation

rodrigok
Copy link
Member

@RocketChat/core

Closes #5647
Closes #604

  • Rename setting Accounts_AllowAnonymousAccess to Accounts_AllowAnonymousRead
  • Add setting Accounts_AllowAnonymousWrite that depends on Accounts_AllowAnonymousRead
  • Add a new button to talk as anonymous that creates a new account without email and request a username
  • Add a setting Accounts_DefaultUsernamePrefixSuggestion to be able to change the default prefix for username suggestions
  • Add a new role anonymous with a few permissions (it's possible to change it at admin area)
  • Create the anonymous user with role anonymous
  • Change the role to user when user adds and verifies the email adding more permissions

captura de tela 2017-04-25 as 15 42 57
captura de tela 2017-04-25 as 15 43 02
captura de tela 2017-04-25 as 15 43 09

@rodrigok rodrigok added this to the 0.56.0 milestone Apr 25, 2017
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6797 April 25, 2017 18:53 Inactive
@sampaiodiego
Copy link
Member

I'm getting this when showing real names enabled:
image

Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When anonymous write is allowed, guest users can have direct conversations with other users (they cannot only start), but they cannot see the conversations on rooms list, as shown bellow:

image

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6797 April 26, 2017 16:55 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6797 April 26, 2017 17:22 Inactive
@rodrigok
Copy link
Member Author

@sampaiodiego Can you review it again? You'll need to rerun the last migration cuz I did change it.

@sampaiodiego
Copy link
Member

I still have found some issues but I dont think they block merging the PR:

  • channels created after anonymous user loads the page are not searchable
  • after anonymous user joins a channel it doesn't see topic nor description changes until a refresh:
    image

@engelgabriel
Copy link
Member

Created:
#6817
#6818

@engelgabriel engelgabriel merged commit 8134fef into develop Apr 27, 2017
@engelgabriel engelgabriel deleted the improvements/anonymous-write branch April 27, 2017 03:06
@ruKurz
Copy link
Contributor

ruKurz commented Apr 24, 2018

Does this PR also include anonymous live chat guests. I try to figure out if there is an open issue or PR, that enables live chat guests to start a chat without entering any email address.

@sampaiodiego
Copy link
Member

@ruKurz you can already do that disabling pre-registration form:

image

@ruKurz
Copy link
Contributor

ruKurz commented Apr 24, 2018

know your product ;-) Thanks for your quick reply!

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

Successfully merging this pull request may close these issues.

Allow anonymous use of the chat [$250]
4 participants