I have overridden SecurityExpressionRoot in my project exposing a method verifying whether the current user has rights to a given resource.
SecurityExpressionRoot
Then I have o