Permissions may be lost when matching expanding params
When we hit the first expanding parameter, no more matching parameters can be picked up. This change remove the faulty break. Change-Id: Ie46652bc4322812a4e1a55cd88e52a0040c6b00b
This commit is contained in:
@@ -98,7 +98,6 @@ public class PermissionCollection {
|
|||||||
perUser = true;
|
perUser = true;
|
||||||
if (sm.match(ref, user)) {
|
if (sm.match(ref, user)) {
|
||||||
sectionToProject.put(sm.section, sm.project);
|
sectionToProject.put(sm.section, sm.project);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
} else if (sm.match(ref, null)) {
|
} else if (sm.match(ref, null)) {
|
||||||
sectionToProject.put(sm.section, sm.project);
|
sectionToProject.put(sm.section, sm.project);
|
||||||
|
|||||||
Reference in New Issue
Block a user