core
core copied to clipboard
Improve `PermissionSpecification` type safety
We should validate the factory and validator properties of permission specifications in ValidPermissionSpecification, just as we do with the restricted method.