Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !6177

Merged
Created Jan 27, 2014 by Administrator@rootOwner

User pages are public

  • Overview 16
  • Commits 1
  • Changes 19

Created by: cirosantilli

Fixes ACCEPTING MERGE/PULL REQUESTS at http://feedback.gitlab.com/forums/176466-general/suggestions/5374154-create-a-public-index-of-users-and-let-users-be-pu.

Behaviour Changes

  • current user profile pages at u/:username can be visited seen by any user without login.
  • only projects and project events that the logged in user can see are listed.

The content of the page is otherwise unchanged, except of course the public header in case the user is not logged in.

Screenshots

  • u/:username while signed out:

screenshot from 2014-01-27 18 21 45 signed out

  • u/:username while signed in as someone else:

screenshot from 2014-01-27 18 26 15 signed in as someone else

  • u/:username while signed as the user himself:

screenshot from 2014-01-27 18 26 54 signed in as the user

Implementation notes

Factored out test User creation under group and admin/group into shared/user. Used name "John Doe" everywhere instead of just "John" to keep uniformity with projects.

Part of features/steps/public/projects_feature.rb spilled out to shared/project.rb since it is now used in both Public projects and User tests.

CSS class header.project_name renamed to .title since it can now contain both project names and user names.

Please consider merging this other MR as it would make it much easier to do interactive tests and screenshots that depend on having multiple project visibility levels.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/booktree/public-user-pages