Cannot sign in unless the user is System Administrator group

NeilW's Avatar


15 May, 2014 04:08 PM

Hello everyone,

I'm new to Mercurial and HgLab so I've probably misconfigured this somewhere along the lines, but I'm stuck. :-)

If I attempt to sign is as a user that is not in the 'System Administrator' group the website does not error but continually redirects back to signin page.
(If invalid username / password supplied then I get an error.)

The test user is in the 'Project Administrators' group, and is a Team Member and Lead for a project that has a non-empty repository.

I can successfully sign in as a user that is in the 'System Administrator' group. (There are a few users setup like that.)

Doesn't seem to matter if I use an ip address or http:///hglab remotely or http://localhost/hglab on the machine itself.
I'm not using AD / LDAP integration.

Version is a new install of 1.5.1. Still within Evaluation period.

Thanks in advance,

  • Neil W
  1. Support Staff 1 Posted by Anton Gogolev on 15 May, 2014 04:42 PM

    Anton Gogolev's Avatar


    Please ensure that "Project Administrators" group has "Collaboration" permission set; having this permission (or being a System Administrator) is required to be able to sign in to HgLab.

    See this article for more information on Security Model in HgLab:

  2. 2 Posted by NeilW on 15 May, 2014 04:52 PM

    NeilW's Avatar

    Fixed! :-)

    Very quick response!

    Cheers Anton

  3. Support Staff 3 Posted by Anton Gogolev on 15 May, 2014 04:54 PM

    Anton Gogolev's Avatar

    Awesome! Glad I could help this quick :)

    How do you think the documentation (or HgLab interface itself) could be improved so that this was more evident?

  4. 4 Posted by NeilW on 16 May, 2014 04:47 PM

    NeilW's Avatar

    I was rushing and didn't get as far as reading the Security Model documentation section, so my fault. :-)

    I think maybe an improvement might be to warn that for users to signin to HgLab they will need the 'Collaboration' permission, and direct them to read the section.

    This warning might go either on the overview page or at the end of the page.

    Thanks again,

    • Neil
  5. Support Staff 5 Posted by Anton Gogolev on 17 May, 2014 08:46 AM

    Anton Gogolev's Avatar

    Thanks a lot, Neil!

    On 16.05.2014, at 20:47, "NeilW" <[email blocked]> wrote:

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM


18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM