question: @ Override public boolean hasPermission ( U currentUser , String permission ) { log . debug ( "Computing " + permission + " permission for : " + this + "\n  Logged in user: " + currentUser ) ; decorate ( currentUser ) ; if ( permission . equals ( "edit" ) ) return editable ; return false ; }
target:  Called by spring security permission evaluator to check whether the current-user has the given permission on this entity. 