Closed Bug 1409169 Opened 2 years ago Closed 2 years ago

Why doesn't Max Liu's level 3 access work?

Categories

(Infrastructure & Operations :: MOC: Service Requests, task)

task
Not set

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: maliu, Assigned: vhua)

References

Details

I need permission to push to projects/oak tree in order to test on gradle automation. I thought I have level 3 access with my bugzilla email(max at mxli.us) in bug 1341164. 
When I try to push commits to oak, the error message show up as below: 


```
A SSH connection has been successfully established.

Your account (max@mxli.us) has privileges to access Mercurial over
SSH.

The command you specified is not allowed on this server.

Goodbye.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

How can I check my permission status? Can I bind permissions to level 3 between mozilla ldap account(maliu at mozilla.com) and bugzilla account(max at mxli.us)?
Max has already been vouched for Level 1 (and Level 3).  Something has happened with the two email accounts that we need help sorting out.  This is also causing problems when using Task Cluster: max@mxli.us doesn't seem to have the same permissions as maliu@mozilla.com.
Assignee: mozillamarcia.knous → nobody
Component: Repository Account Requests → MOC: Service Requests
Product: mozilla.org → Infrastructure & Operations
QA Contact: lypulong
Summary: Commit Access (Level 3) for Max Liu → Why doesn't Max Liu's level 3 access work?
Currently the only account that has commit access is max@mxli.us.  Can you check your ~/.ssh/config and have it set similar to http://mozilla-version-control-tools.readthedocs.io/en/latest/hgmozilla/auth.html#ssh-configuration?
Assignee: nobody → vhua
Status: NEW → ASSIGNED
Yes, I do have these two lines in my .ssh/config.

Host hg.mozilla.org
  User max@mxli.us
  IdentityFile ~/.ssh/identityFile

Host reviewboard-hg.mozilla.org
  User max@mxli.us
  IdentityFile ~/.ssh/identityFile

Is it possible that I have the privileges to access Mercurial over SSH, but the command I specified is not allowed on the server.
Something more like my git-cinnabar setting is wrong during push?
Hi Vinh,

Sorry, my bad. I use git-cinnabar and push url does not configured correctly. It should have "hg::" prefix. I fixed that and my level 3 access is worked as expected.
Sorry to waste your time. Thanks ;)

Correct setting in .git/config looks like this.

```
[remote "oak"]
        url = hg::https://hg.mozilla.org/projects/oak
        pushurl = hg::ssh://hg.mozilla.org/projects/oak
        fetch = +refs/heads/*:refs/remotes/oak/*
        push = +HEAD:refs/heads/branches/default/tip
```
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.