mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
exposing PermissionGroup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6423 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
4f4a389623
commit
3f3bac94d2
1 file changed
+1
-6
@@ -56,12 +56,7 @@ public final class Permission {
|
||||
this.name = name;
|
||||
this.impliedBy = impliedBy;
|
||||
|
||||
synchronized (PERMISSIONS) {
|
||||
PermissionGroup g = PERMISSIONS.get(owner);
|
||||
if(g==null)
|
||||
PERMISSIONS.put(owner,g = new PermissionGroup(owner));
|
||||
g.add(this);
|
||||
}
|
||||
group.add(this);
|
||||
ALL.add(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user