-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Anonymous use #5986
Anonymous use #5986
Conversation
@@ -102,7 +102,7 @@ Template.main.helpers | |||
return ready | |||
|
|||
hasUsername: -> | |||
return Meteor.userId()? and Meteor.user().username? | |||
return (Meteor.userId()? and Meteor.user().username?) || RocketChat.authz.hasAllPermission('preview-c-room') |
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.
This will prevent the username screen for normal users too
…mous # Conflicts: # packages/rocketchat-ui-sidenav/package.js
even though I'd approved it, I can still see odd behaviors in 2 scenarios:
|
The number 1 was fixed. |
@rodrigok should we fix the conflicts and merge this? |
…mous # Conflicts: # packages/rocketchat-channel-settings/client/startup/tabBar.coffee # packages/rocketchat-lib/server/startup/settings.coffee # packages/rocketchat-theme/client/imports/base.less # packages/rocketchat-ui-login/client/login/form.coffee # packages/rocketchat-ui-master/master/main.coffee # packages/rocketchat-ui-message/client/messageBox.coffee # packages/rocketchat-ui-message/message/messageBox.html # packages/rocketchat-ui-sidenav/client/accountBox.coffee # packages/rocketchat-ui-sidenav/client/chatRoomItem.coffee # packages/rocketchat-ui-sidenav/package.js # packages/rocketchat-ui/lib/collections.coffee # server/publications/spotlight.js
@RocketChat/core
TODO
Refs: #604