The integration of the CBAC methods into the ApplicationController is currently risky, since there is a pretty big chance
of name clashes. For example, the AuthenticatedSystem plugin also has a method called "current_user", which
returns a complete User model instead of an integer for the user's id.
Cleaner integration could be accomplished by clearly setting the methods apart from other methods by prefixing them
with "cbac", such as "cbac_current_user" instead of "current_user". |