{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker-registry/issues/747","labels_url":"https://api.github.com/repos/docker/docker-registry/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker-registry/issues/747/comments","events_url":"https://api.github.com/repos/docker/docker-registry/issues/747/events","html_url":"https://github.com/docker/docker-registry/issues/747","id":49266959,"number":747,"title":"How to disable users to perform push operation in a private docker-registry with basic authentication","user":{"login":"joda70","id":3584953,"avatar_url":"https://avatars.githubusercontent.com/u/3584953?v=3","gravatar_id":"","url":"https://api.github.com/users/joda70","html_url":"https://github.com/joda70","followers_url":"https://api.github.com/users/joda70/followers","following_url":"https://api.github.com/users/joda70/following{/other_user}","gists_url":"https://api.github.com/users/joda70/gists{/gist_id}","starred_url":"https://api.github.com/users/joda70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joda70/subscriptions","organizations_url":"https://api.github.com/users/joda70/orgs","repos_url":"https://api.github.com/users/joda70/repos","events_url":"https://api.github.com/users/joda70/events{/privacy}","received_events_url":"https://api.github.com/users/joda70/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker-registry/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker-registry/milestones/7","html_url":"https://github.com/docker/docker-registry/milestones/1.0","labels_url":"https://api.github.com/repos/docker/docker-registry/milestones/7/labels","id":739530,"number":7,"title":"1.0","description":"Last release for the v1 docker registry.\r\nWill be maintenance only, focusing on cleanup, bugfixing, and documentation enhancements.","creator":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":35,"state":"open","created_at":"2014-08-01T09:59:48Z","updated_at":"2015-01-22T21:58:17Z","due_on":"2015-02-09T08:00:00Z","closed_at":null},"comments":19,"created_at":"2014-11-18T17:38:15Z","updated_at":"2015-05-22T17:25:42Z","closed_at":null,"body":"I have configured in a given machine a private docker registry on CentOS 6.6 with basic authentication by using\r\ndocker-registry 0.8.1-2\r\ndocker-io 1.2.0-3\r\nnginx 1.6.2-1\r\n\r\nI have included authorized users  in the docker-registry.htpasswd.\r\n\r\nUntil now I have not found yet a way that allows me to disable part of the authorized users to perform docker push operation. Basically I would like to allow some users to only perform pull operation, whilst others also push.\r\n\r\nDo you think it is possible such configuration without using docker hub?"},"comment":{"url":"https://api.github.com/repos/docker/docker-registry/issues/comments/104720523","html_url":"https://github.com/docker/docker-registry/issues/747#issuecomment-104720523","issue_url":"https://api.github.com/repos/docker/docker-registry/issues/747","id":104720523,"user":{"login":"joda70","id":3584953,"avatar_url":"https://avatars.githubusercontent.com/u/3584953?v=3","gravatar_id":"","url":"https://api.github.com/users/joda70","html_url":"https://github.com/joda70","followers_url":"https://api.github.com/users/joda70/followers","following_url":"https://api.github.com/users/joda70/following{/other_user}","gists_url":"https://api.github.com/users/joda70/gists{/gist_id}","starred_url":"https://api.github.com/users/joda70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joda70/subscriptions","organizations_url":"https://api.github.com/users/joda70/orgs","repos_url":"https://api.github.com/users/joda70/repos","events_url":"https://api.github.com/users/joda70/events{/privacy}","received_events_url":"https://api.github.com/users/joda70/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T17:25:42Z","updated_at":"2015-05-22T17:25:42Z","body":"Have you run docker-registry and nginx in two different containers?"}}