You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user who is NOT an administrator attempts to add a new email recipient, they get a Forbidden message. It works fine when a user has the administrator role.
The error is on EmailRecipient->getFormParent(), the $formID retrieved from the session is a Page but is expecting to have a UserDefinedForm.
This does not cause problem for a user defined form page, just for a page, with a userform element.
The full error is:
ERROR [UNKNOWN TYPE, ERRNO 403]:
IN GET /admin/pages/edit/EditForm/1135/field/ElementalArea/item/2332/ItemEditForm/field/EmailRecipients/item/new
Line in
When a user who is NOT an administrator attempts to add a new email recipient, they get a Forbidden message. It works fine when a user has the administrator role.
The error is on
EmailRecipient->getFormParent()
, the$formID
retrieved from the session is aPage
but is expecting to have aUserDefinedForm
.This does not cause problem for a user defined form page, just for a page, with a userform element.
The full error is:
ERROR [UNKNOWN TYPE, ERRNO 403]:
IN GET /admin/pages/edit/EditForm/1135/field/ElementalArea/item/2332/ItemEditForm/field/EmailRecipients/item/new
Line in
Trace
SilverStripe\Dev\CliDebugView->renderTrace()
DetailedErrorFormatter.php:119
SilverStripe\Logging\DetailedErrorFormatter->output(403, , , , )
DetailedErrorFormatter.php:54
SilverStripe\Logging\DetailedErrorFormatter->format(Array)
HTTPResponse.php:416
SilverStripe\Control\HTTPResponse->outputBody()
HTTPResponse.php:344
SilverStripe\Control\HTTPResponse->output()
index.php:26
The text was updated successfully, but these errors were encountered: