Merge pull request #58 from bummzack/master

FIX: non admin user rights viewing EmailRecipients.
This commit is contained in:
Will Rossiter 2012-09-24 22:33:30 -07:00
commit 6d8d648280

View File

@ -975,6 +975,10 @@ class UserDefinedForm_EmailRecipient extends DataObject {
return $fields; return $fields;
} }
public function canView($member = null) {
return $this->Form()->canView();
}
public function canEdit($member = null) { public function canEdit($member = null) {
return $this->Form()->canEdit(); return $this->Form()->canEdit();
} }