This is a service for a school, so there's potentially a large number of users and groups. I'd prefer to let this all be self managed. Having a separate names space for groups would alleviate the issue. Asking is not practical.
I'm not a familiar with ruby...yet rails...but would changing the model /opt/gitlab/embedded/service/gitlab-rails/app/models/*group*.rb with some kind of "validates" chuck of code work? Doug On Monday, July 25, 2016 at 5:56:48 PM UTC-4, Drew Blessing wrote: > > Hi Doug, > > There isn't a way to restrict groups like you're requesting. Have you > experienced lots of issues with conflicting namespaces? I've not seen a lot > of times where users were unable to get a namespace because a group had > already taken it. If it's not happening often you can potentially handle > each case separately - ask the group to give up their namespace or > something. > > On Thursday, July 21, 2016 at 1:10:22 PM UTC-5, douglas.mott...@gmail.com > wrote: >> >> Is there a way for an admin in gitlab to restrict the name space for >> groups created? >> >> I plan to setup gitlab tied to a CAS authentication provider and have >> automatic account creations on login. So if the username "john" logs in it >> will get the namespace "john". Problem is that right now, an previous user >> could have "stolen" the "john" name space as a group. And therefore >> "john" wouldn't get "john", but like "john1". I'd prefer not to have that >> happen. >> >> I also still want to allow people to create/mange their own groups, but >> restrict the group name space in some way so that it can't collide with the >> automatic users that would be created. >> >> >> For example, I know my users can not have a period in the username, so >> then force groups to have a period. OR force groupnames to be prepended >> with a string...like "group-". >> >> >> Does anyone have a suggestion? >> >> Thanks, >> >> Doug >> > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/7d15cba8-df42-4f91-aa1d-4d267679ce2e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.