To make a LDAP user an admin, you should use the Rails console like this:

sudo gitlab-rails console
u = User.find_by_username("maneesh")
u.admin = true
u.save
exit

This may or may not solve your problem, because there's a bug where even 
being an admin, you can't create projects on all namespaces.

HTH,
Daniel Serodio

On Thursday, February 26, 2015 at 1:44:14 AM UTC-3, Maneesh M P wrote:
>
> I have integrated gitlab with our organization LDAP. How can I make a LDAP 
> user as admin ?
> I have migrated around 200+ repos (which categorized under 16 groups) from 
> gitolite to gitlab. If I have to make a user owner of all the repos, I have 
> to go click each group and add a member.
> Is there a easier way ?
>
> Thanks,
> Maneesh
>

-- 
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/8194a0a1-dc96-42d4-b030-959ea1c21ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to