{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/31849893","id":31849893,"diff_hunk":"@@ -0,0 +1,115 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n+           xmlns:html=\"http://www.w3.org/1999/xhtml\"\n+           xmlns:vc=\"http://www.w3.org/2007/XMLSchema-versioning\"\n+           xmlns:xerces=\"http://xerces.apache.org\"\n+           xmlns:saxon=\"http://saxon.sf.net/\"\n+           xmlns:rbac=\"http://docs.openrepose.org/repose/simple-rbac/v1.0\"\n+           xmlns=\"http://docs.openrepose.org/repose/simple-rbac/v1.0\"\n+           targetNamespace=\"http://docs.openrepose.org/repose/simple-rbac/v1.0\"\n+           elementFormDefault=\"qualified\">\n+\n+    <!-- Elements -->\n+    <xs:element name=\"simple-rbac\" type=\"SimpleRbacConfig\"/>\n+\n+    <!-- Types -->\n+    <xs:complexType name=\"SimpleRbacConfig\">\n+        <xs:annotation>\n+            <xs:documentation>\n+                <html:p>The root config type for the Simple RBAC filter configuration file.</html:p>\n+            </xs:documentation>\n+        </xs:annotation>\n+\n+        <xs:sequence>\n+            <xs:element name=\"delegating\" type=\"DelegatingType\" minOccurs=\"0\" maxOccurs=\"1\"/>\n+            <xs:element name=\"resources\" type=\"xs:string\" minOccurs=\"0\" maxOccurs=\"1\">\n+                <xs:annotation>\n+                    <xs:documentation>\n+                        <html:p>\n+                            This is a list of resources, HTTP methods, and roles allowed to access them.\n+                        </html:p>\n+                    </xs:documentation>\n+                </xs:annotation>\n+            </xs:element>\n+        </xs:sequence>\n+\n+        <xs:attribute name=\"roles-header-name\" type=\"xs:string\" use=\"optional\" default=\"X-ROLES\">\n+            <xs:annotation>\n+                <xs:documentation>\n+                    <html:p>\n+                        This is the name of the header where that roles are passed in.\n+                    </html:p>\n+                </xs:documentation>\n+            </xs:annotation>\n+        </xs:attribute>\n+        <xs:attribute name=\"resources-file-name\" type=\"xs:string\" use=\"optional\">\n+            <xs:annotation>\n+                <xs:documentation>\n+                    <html:p>\n+                        This is the name of a file containing a list of resources, HTTP methods, and roles allowed to access them.\n+                    </html:p>\n+                </xs:documentation>\n+            </xs:annotation>\n+        </xs:attribute>\n+        <xs:attribute name=\"enable-masking-403s\" type=\"xs:boolean\" use=\"optional\" default=\"false\">\n+            <xs:annotation>\n+                <xs:documentation>\n+                    <html:p>Instead of returning a FORBIDDEN (403), return a NOT FOUND (404) or METHOD NOT ALLOWED (405) as appropriate.</html:p>\n+                </xs:documentation>\n+            </xs:annotation>\n+        </xs:attribute>\n+        <xs:attribute name=\"dot-output\" type=\"xs:string\" use=\"optional\">\n+            <xs:annotation>\n+                <xs:documentation>\n+                    <html:p>\n+                        dot output file for this validator\n+                        DOT is a plain text graph description language.\n+                        It is a simple way of describing graphs that both humans and computer programs can use.\n+                    </html:p>\n+                </xs:documentation>\n+            </xs:annotation>\n+        </xs:attribute>\n+        <xs:attribute name=\"wadl-output\" type=\"xs:string\" use=\"optional\">","path":"repose-aggregator/extensions/simple-rbac/src/main/resources/META-INF/schema/config/simple-rbac.xsd","position":72,"original_position":72,"commit_id":"842efdc63e259a9b72de81c9ab3f516d6f0c0e0c","original_commit_id":"842efdc63e259a9b72de81c9ab3f516d6f0c0e0c","user":{"login":"adrianjgeorge","id":997130,"avatar_url":"https://avatars.githubusercontent.com/u/997130?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianjgeorge","html_url":"https://github.com/adrianjgeorge","followers_url":"https://api.github.com/users/adrianjgeorge/followers","following_url":"https://api.github.com/users/adrianjgeorge/following{/other_user}","gists_url":"https://api.github.com/users/adrianjgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianjgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianjgeorge/subscriptions","organizations_url":"https://api.github.com/users/adrianjgeorge/orgs","repos_url":"https://api.github.com/users/adrianjgeorge/repos","events_url":"https://api.github.com/users/adrianjgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/adrianjgeorge/received_events","type":"User","site_admin":false},"body":"why?","created_at":"2015-06-05T20:45:44Z","updated_at":"2015-06-05T20:45:44Z","html_url":"https://github.com/rackerlabs/repose/pull/1311#discussion_r31849893","pull_request_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1311","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/31849893"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1311#discussion_r31849893"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1311"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/1311","id":36475848,"html_url":"https://github.com/rackerlabs/repose/pull/1311","diff_url":"https://github.com/rackerlabs/repose/pull/1311.diff","patch_url":"https://github.com/rackerlabs/repose/pull/1311.patch","issue_url":"https://api.github.com/repos/rackerlabs/repose/issues/1311","number":1311,"state":"open","locked":false,"title":"REP-2097 Simple RBAC Filter","user":{"login":"wdschei","id":7366196,"avatar_url":"https://avatars.githubusercontent.com/u/7366196?v=3","gravatar_id":"","url":"https://api.github.com/users/wdschei","html_url":"https://github.com/wdschei","followers_url":"https://api.github.com/users/wdschei/followers","following_url":"https://api.github.com/users/wdschei/following{/other_user}","gists_url":"https://api.github.com/users/wdschei/gists{/gist_id}","starred_url":"https://api.github.com/users/wdschei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdschei/subscriptions","organizations_url":"https://api.github.com/users/wdschei/orgs","repos_url":"https://api.github.com/users/wdschei/repos","events_url":"https://api.github.com/users/wdschei/events{/privacy}","received_events_url":"https://api.github.com/users/wdschei/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-29T05:52:07Z","updated_at":"2015-06-05T20:45:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f2858c4ac5759dd8896b92e5278d9691b403533","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1311/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1311/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/repose/issues/1311/comments","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/842efdc63e259a9b72de81c9ab3f516d6f0c0e0c","head":{"label":"rackerlabs:REP-2097_SimpleRbacFilter","ref":"REP-2097_SimpleRbacFilter","sha":"842efdc63e259a9b72de81c9ab3f516d6f0c0e0c","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1981821,"name":"repose","full_name":"rackerlabs/repose","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","created_at":"2011-07-01T04:39:34Z","updated_at":"2015-06-03T19:29:21Z","pushed_at":"2015-06-05T20:38:44Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":121234,"stargazers_count":186,"watchers_count":186,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":5,"forks":54,"open_issues":5,"watchers":186,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"07c61646fbb1717791eb41a23f32cf3ed6583bbf","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1981821,"name":"repose","full_name":"rackerlabs/repose","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","created_at":"2011-07-01T04:39:34Z","updated_at":"2015-06-03T19:29:21Z","pushed_at":"2015-06-05T20:38:44Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":121234,"stargazers_count":186,"watchers_count":186,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":5,"forks":54,"open_issues":5,"watchers":186,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1311"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1311"},"issue":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1311"},"comments":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1311/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1311/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1311/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/repose/statuses/842efdc63e259a9b72de81c9ab3f516d6f0c0e0c"}}}}