[coldbox-3.8] Obtaining security.json rules for other uses

We’ve setup the Coldbox Security Interceptor and rules to lock down events. That’s great.

What if, however, I know the current user won’t be able to get to a given event, but I want to also suppress links to it.

For example: MySecurityService.canUserGoToEvent(‘handler.event’, local.oUser)
and get back a true/false, and also without setting a messageBox setting like my security validator() function does.

Thoughts?

I think it is an interesting idea and maybe a great addition to add a utility method to the interceptor that can just do this. Either enter a ticket or a pull request, but I think it is a valid point and great enhancement.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Thus far I’m about 85% through writing a json only version that copies and mods some functions from yall.