I'm using gitlab 7.4.3
I want to create a user to sync a git repo with gitlab periodically. It's actually a git-svn checkout of a svn tree, so I plan to in cron run 'git svn fetch' and 'git push gitlab' every few minutes.
But I don't want this actively to show up as my activity. So I want to create a user, something like 'svnbot', and do the pushing as that user.
My problem is that I cannot create a user because I already have a user, and gitlab is requiring email addresses to be unique.
Ideally the user would have the same email as my account, so that any email it would receive goes to me. Also, having no email address at all would also be fine for my purposes. I don't want the email to leave the local domain, so I can't just put in a gmail account, and my email server doesn't support the "+" trick.
I have admin rights to the gitlab server, but not to the email servers, and I would prefer to not have to bother the email admins with this problem.
I'm guessing you need to contact your email admins. You can almost certainly get by with having them create an alias for your email account, e.g. 'gitlab-svn-bot#example.com'.
Related
I have a fresh installation of GitLab 15.7.2. When a new user is created, it sends a notification E-Mail via SMTP to that user, saying The Administrator created an account for you. Now you are a member of the company GitLab application.
How can I change the company name GitLab application ?
After a little research, I realized that we cannot change Gitlab's email notifications.
In addition, this sentence does not mean the name of your company, it just says that you have been added to your company's Gatilab
I wanted to change my username on GitLab so I followed the following procedure:
Navigate to your profile's Settings > Account.
Enter a new username under Change username.
Click Update username.
After clicking on update nothing seem to change so I refreshed the page and I receive the following error:
Your account has been blocked. Please contact your GitLab administrator if you think this is an error.
How do I unblock my account?
PS: I opened a GitLab SaaS account
This thread mentions
Check <external_url>/admin/application_settings/general > expand Sign-up Restrictions, and verify if the checkbox for Send confirmation email on sign-up is checked or unchecked?
Having that setting enabled will send a confirmation email, and for that user to be “unlocked”, it requires the confirmation link in the confirmation email is clicked.
If you’re creating a user with Ansible and the confirmation email isn’t received and the link it contains clicked, it would cause the “user is blocked” error you’re seeing.
If you did not check the box for this requirement, I suspect the default setting might’ve changed in 12.9.x. Do you notice if this checkbox was checked before upgrading?
Unchecking the box, or manually “confirming” the email of your Ansible-created user in the GitLab Admin UI should remove the block on this user.
In your case, since you are changing the user manually, see if:
the IP is blocked (try from another network/device)
if you have an IDE opened with a GitLab repository accessed through HTTPS: the IDE might need to refresh the Git repository state periodically, and would be using the old credentials (old username).
The OP goutam thakur confirms in the comments:
My account was unblocked after I submitted a request through the form "Gitlab.com (SaaS) user accounts and login issues".
Given I have a existing project and I want to add an external GitLab user to the project.
The user can enter his/her GitLab username (and additional fields if needed) in a UI.
What is the best practice to verify that the user is valid and that the user is the real owner of the entered account over the GitLab API?
This should also support external login methods (GitHub, ...).
Recently I installed GitLab for my Company (a dockerized Container based on sameersbn/gitlab). When my users (authenticated with CAS) are trying to create their accounts they are getting email confirmation message. (which I do not have configured GitLab to send)
Now my question is I want to disable the email confirmation feature.
What file do I have to configure in the gitlab?
I don't want to change the users.rb file if possible.
Which options do I have to change this behaviour.
it seems that there is really no option (searched the offical gitlab forum, github, etc) ended setting up the smtp settings, so gitlab can send those confirmation emails.
I want to setup a gitlab instance for internal use. Since the instance can only be reached over a local network I haven't setup the email setup. Unfortunately gitlab still wants to sent new users confirmation emails with a temporary password, but they never receive this email.
Is there a way to configure gitlab so that it doesn't send these confirmation mails? I already tried to set email_enabled: false in gitlab.yml but it didn't work.
Update:
It should work without me having to interfere manually in the signup process.
Admin can confirm user manually!
Login gitlab with admin account and create a new user (Mini), ignore password.
Admin area ---> users ---> edit Mini user ---> set password.
User Mini can login gitlab.
I think GitLab takes security seriously and from what I have seen so far, it looks like either your users need to confirm their accounts or an admin has to confirm manually.