109110111112113114115116117118119
// Deny all context.allow(publish, editor); // Test (publish, editor) - expected: success if (!context.check(publish, editor)) { fail("Check for permission " + publish + " and role " + editor + " failed while it shouldn't"); } } /**