(scope, reference)
| 44 | return permission.has(scope, reference); |
| 45 | }, |
| 46 | drop(scope, reference) { |
| 47 | validateString(scope, 'scope'); |
| 48 | if (reference != null) { |
| 49 | if (isBuffer(reference)) { |
| 50 | validateBuffer(reference, 'reference'); |
| 51 | } else { |
| 52 | validateString(reference, 'reference'); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | permission.drop(scope, reference); |
| 57 | }, |
| 58 | availableFlags() { |
| 59 | if (_ffi === undefined) { |
| 60 | const { getOptionValue } = require('internal/options'); |