Hello everybody.

We are using a Gitlab CE instance for 2 years now, and we are thinking 
about switching to Gitab EE, but there's something bothering for us, the 
user management.

I've tried using the Users API, but I can't find à reliable way to list 
what would I say inactive users.

For us, an inactive user is an user which hasn't done anything in the 
gitlab (weblogin, commit for example) for a certain amount of time (3 or 6 
months, depending of the product). 

With all the tools we are using (some from Atlassian and others), we were 
able to write some piece of script to list users which we consider inactive 
and send them an email telling something like "Your account is now 
considered inactive, you have 1 week to answer this email or login either 
your account will be suspended".

But with Gitlab CE (latest version), it seems I can't find the information.

Here is what I got : 

   - current_sign_in_at : Well, if the user doesn't use the web interface, 
   this won't be reliable. And to have it updated, you have to logout/login to 
   the web interface, because using the valid cookie won't update this field.
   - last_sign_in_at : Its value is older than the "current_sign_in_at", so 
   I don't actually know what this field means.

And that's all, I've been trying to crawl all the commits and display the 
time-stamp of the last commit for each user, but I have 115 users and more 
than 400 projects...


We already have a procedure when an employee leaves the company, but in 
some cases, an employee changes position within the company and maybe he 
doesn't need to use Gitlab anymore and we have a useless user account on 
our system.


For now, I use Gitlab CE, so having even 10% of unused user accounts 
doesn't actually bothers me, because we don't pay anything. But if I'm 
buying licences for Gitlab EE, I would like to buy the licenses I need for 
the actual users, and not paying for users which aren't using it anymore.


I hope I was clear enough, Don't hesitate to ask me for more details.


Thanks.

-- 
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/d27e8e48-2d4c-4001-b656-a10945d61e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to