Create a new ACL state with the given default policy.
'permissive' grants all caps to unknown identities; 'restrictive' denies all caps to unknown identities. Defaults to 'permissive'.
A new empty AclState
const state = createState('restrictive');// { defaultPolicy: 'restrictive', entries: {} } Copy
const state = createState('restrictive');// { defaultPolicy: 'restrictive', entries: {} }
Create a new ACL state with the given default policy.