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

Display user email on user#show view only to logged-in users #7753

Merged
merged 1 commit into from Jun 13, 2019
Merged

Display user email on user#show view only to logged-in users #7753

merged 1 commit into from Jun 13, 2019

Conversation

dmarcoux
Copy link
Contributor

Fixes #7744

This is testable locally:

  1. Add return true as the first line in switch_to_webui2?
  2. Visit http://localhost:3000/user/show/Admin as an anonymous user
  3. Do not see the email of Admin (as you can see in the screenshot below)

issue-7744

@dmarcoux dmarcoux added Frontend Things related to the OBS RoR app Bootstrap 🚀 Bootstrap migration labels Jun 13, 2019
@codecov
Copy link

codecov bot commented Jun 13, 2019

Codecov Report

Merging #7753 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7753      +/-   ##
==========================================
- Coverage   90.76%   90.73%   -0.04%     
==========================================
  Files         500      500              
  Lines       21369    21369              
==========================================
- Hits        19396    19389       -7     
- Misses       1973     1980       +7

1 similar comment
@codecov
Copy link

codecov bot commented Jun 13, 2019

Codecov Report

Merging #7753 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7753      +/-   ##
==========================================
- Coverage   90.76%   90.73%   -0.04%     
==========================================
  Files         500      500              
  Lines       21369    21369              
==========================================
- Hits        19396    19389       -7     
- Misses       1973     1980       +7

@hennevogel hennevogel merged commit 84cab9a into openSUSE:master Jun 13, 2019
@dmarcoux dmarcoux deleted the issue-7744 branch June 13, 2019 15:42
@@ -11,7 +11,7 @@
%span.badge.badge-secondary.align-top
= title.upcase

- unless user.is_nobody?
- unless User.possibly_nobody.is_nobody?
Copy link
Member

Choose a reason for hiding this comment

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

that's very long for if User.session

coolo added a commit to coolo/open-build-service that referenced this pull request Jun 14, 2019
coolo added a commit to coolo/open-build-service that referenced this pull request Jun 14, 2019
DavidKang pushed a commit to DavidKang/open-build-service that referenced this pull request Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bootstrap 🚀 Bootstrap migration Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

anoymous webui shows email address of users
3 participants