Allows for a optional plugin config property which allows for a callback to passed through the ACL.checkRoles function. This gives the implementor the ability to handle the forbidden response instead of being globally returned the Boom.unauthorized 403.
Passes through the request and reply objects so the implementor can continue the request lifecycle as they see fit.
Coverage increased (+0.06%) to 95.455% when pulling 396754bf8079ff0da11ac3fd4cb9102112d73501 on kamboyer:forbiddenHandler into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.
Coverage increased (+0.06%) to 95.455% when pulling 396754bf8079ff0da11ac3fd4cb9102112d73501 on kamboyer:forbiddenHandler into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.
Coverage increased (+0.06%) to 95.455% when pulling 396754bf8079ff0da11ac3fd4cb9102112d73501 on kamboyer:forbiddenHandler into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.
Coverage increased (+0.06%) to 95.455% when pulling 3586a9d4932354561b0c3ebd30f574c6a3f7ec6e on kamboyer:forbiddenHandler into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.
Coverage increased (+0.06%) to 95.455% when pulling 3586a9d4932354561b0c3ebd30f574c6a3f7ec6e on kamboyer:forbiddenHandler into 13b5336a31218c194a488747ffed90fad51436fa on toymachiner62:master.
Allows for a optional plugin config property which allows for a callback to passed through the ACL.checkRoles function. This gives the implementor the ability to handle the forbidden response instead of being globally returned the Boom.unauthorized 403.
Passes through the request and reply objects so the implementor can continue the request lifecycle as they see fit.