grails-spring-security-core
grails-spring-security-core copied to clipboard
GPSPRINGSECURITYCORE-290: Request a
Original Reporter: mephiztopheles Environment: Not Specified Version: Not Specified Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-290
mephiztopheles said: Im Sorry Pressed wrong key so... when you send an ajax request and you dont have permission, then the server sends back an error object but for ajax and the success function, thats a bad idea. maybe you could check the request.xhr var in grails and then send an error as request.sendError()