File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -358,17 +358,6 @@ class SchemaController {
358
358
} )
359
359
}
360
360
361
-
362
- // Returns whether the schema knows the type of all these keys.
363
- hasKeys ( className , keys ) {
364
- for ( let key of keys ) {
365
- if ( ! this . data [ className ] || ! this . data [ className ] [ key ] ) {
366
- return false ;
367
- }
368
- }
369
- return true ;
370
- }
371
-
372
361
// Returns a promise that resolves successfully to the new schema
373
362
// object or fails with a reason.
374
363
// If 'freeze' is true, refuse to modify the schema.
@@ -622,7 +611,7 @@ class SchemaController {
622
611
}
623
612
return Promise . resolve ( this ) ;
624
613
}
625
-
614
+
626
615
// Validates the base CLP for an operation
627
616
testBaseCLP ( className , aclGroup , operation ) {
628
617
if ( ! this . perms [ className ] || ! this . perms [ className ] [ operation ] ) {
You can’t perform that action at this time.
0 commit comments