Groovy Documentation

groovy.org.codenarc.rule.grails
[Groovy] Class GrailsMassAssignmentRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.grails.GrailsMassAssignmentRule

class GrailsMassAssignmentRule
extends AbstractAstVisitorRule

Untrusted input should not be allowed to set arbitrary object fields without restriction. TODO: Switch from name-based detection to type based detection when Grails domain object interfaces are detectable

Authors:
Brian Soby


Property Summary
Class astVisitorClass

String name

int priority

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 

Groovy Documentation