mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Introduced ACL.lambda convenience method (#3260)
* Introduced ACL.lambda convenience method. * Javadoc
This commit is contained in:
1 parent
f1fc0f02ed
commit
ac05680bb6
4 files changed
+23
-23
No files matched your search
@@ -45,11 +45,7 @@ public class TaskActionTest {
|
||||
}
|
||||
|
||||
protected ACL getACL() {
|
||||
return new ACL() {
|
||||
public boolean hasPermission(Authentication a, Permission permission) {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
return ACL.lambda((a, p) -> true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user