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
  • !4685

Closed
Created Jul 31, 2013 by Administrator@rootOwner
  • Report abuse
Report abuse

Feature to have world-accessible snippets

  • Overview 7
  • Commits 3
  • Changes 30

Created by: jackbot

I've added a new feature to snippets to allow them to be world-accessible (like the new "public projects" feature). Before, a snippet could have its private attribute as true/false - a private snippet could only be viewed by the user who created it, whereas a public snippet could be viewed by any GitLab user. I've changed the private attribute to visibility - allowing 3 visibility types: private, gitlab_public and world_public. The first two are the same as described before, but world_public lets the snippet be visible on the public page allowing anyone people to view the snippet without being signed in.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/jackbot/public-snippets