Charter · Verifier rules

resolution: role cycle (error)

Error. Reported when extends forms a cycle, as when two roles extend each other, so neither resolves to anything. Resolving either role throws, and the message names a role on the cycle; verifyCharter reports it under the rule resolution.

Charter
{
  usher: { extends: ['manager'], allow: ['door.*'] },
  manager: { extends: ['usher'], allow: ['takings'] },
}
Role
'manager'
Error
Role cycle through "manager"
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.