)]}' { "commit": "691c9c9c4fa6c0a533ee8386e991a41224c87243", "tree": "7fdb8e1a12fa43404cd36092769be783accdb091", "parents": [ "082bf62238d4d815636a329cc1ef4d86b36f982e" ], "author": { "name": "Simon Hwang", "email": "simon.hwang@ericsson.com", "time": "Wed Sep 23 13:55:41 2015 -0400" }, "committer": { "name": "Simon Hwang", "email": "simon.hwang@ericsson.com", "time": "Fri Sep 25 09:46:17 2015 -0400" }, "message": "Fix: enable to add a user within a project\u0027s ACL using \u0027user/username\u0027\n\nCurrently, a user cannot be added to a project\u0027s ACL unless the user\nalready has READ permission in the project\u0027s ACL. For example, a user\ncannot be given READ permission on refs/* if the user does not already\nhas READ permission on refs/*. In other words, it is impossible to give\nREAD permission of refs/* to an individual user.\n\nThe fix is done by disabling the filter which prevents any user that\ndoes not have READ permission in the project\u0027s ACL from being added\nwithin the project\u0027s ACL.\n\nVerified using following steps:\n\n1.Create a project with default configurations\n2.Select the project and go to Access\n3.Start typing \u0027user/\u0027 followed by a username at any refs for any\n permission type\n4.Users containing the typed string is suggested for auto-completion\n5.Choose a user to be added to the permission\n\nChange-Id: I7342e87d2f200d698e247a3c35f339d122aaea82\n", "tree_diff": [ { "type": "modify", "old_id": "9d72b1b1ad5ca9f9ac06ad5decdc551af5d4681c", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java", "new_id": "33598654846dfff01a2539c8ba2d2882e46ba383", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java" } ] }