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
  • Issues
  • #1624

Closed
Open
Created Oct 03, 2012 by Administrator@rootOwner

Feature: default role/access for gitolite-only users

Created by: sroth80021

There are several cases I've seen recently in which I think it would be helpful if GL had a default role (or access settings) for authenticated users known to Gitolite but otherwise unknown to GitLab.

For example, issue #1292 (closed) could be addressed by giving users read permissions at the Gitolite level, and having GitLab give these users Read access to the repo. (Reporter role or something like that)

Another example is the SSO support which GL now has -- this is a case in which users may not be known to GitLab, but can still login. The question is what role they should be mapped to for repo access.

I think this would provide a natural distinction between users 'on the team' -- listed as team members in GL, and external users 'that can see the repo' -- additional users in Gitolite.

So in short:

  • if we provided a role for 'external' authenticated users (ie users listed with R access in GitoLite), Then we could:
  • use this approach to distinguish between 'core team users' and 'external team members'
  • have a place (a role) to specify permissions for 'external team members' as a group rather than on a per-user basis.
  • have default permissions for users on login without explicitly having to give them permissions, as is the case now.

Overall, I think this option would add some nice capability in terms of distinguishing 'core' project members from 'external' people, which addresses the email issue in #1292 (closed). It also would allow for a concept of a 'default' user role (the external role). It integrates better with Gitolite-specified users/groups/@all. And it does this with very little in terms of excess configuration in GitLab (ie simple, easy-to-use).

Thoughts?

Assignee
Assign to
Time tracking