I’m working on updating my site from EE3 to EE4. I have a few channel form templates that work in EE3 but when tested in EE4, give this error:
Author: You are not authorized to perform this action
Here’s my channel form tag:
{exp:channel:form
channel="research-workingpapers"
{if (logged_in_group_description == 'super_admins')}
{if:else}
author_only="yes"
{/if}
entry_id="{segment_3}"
return="authonly/edit-research-workingpapers/ENTRY_ID"
include_jquery="no"
include_assets="yes"
unique_url_title="yes"
rte_toolset_id=""
rte_selector=""
}
The user is logged in – I can add 0 and 0 tags to the template and they are rendered with the correct ID. I have “Allow guest submissions?” turned off for this channel
I found this bug report back in EE 3 that seems related: https://expressionengine.com/support/bugs/22057/Author-You-are-not-authorized-to-perform-this-action However, I don’t want to allow guest submissions or allow users to edit entries by others so I don’t know if that patch fixes the issue in my case. Have channel forms changed in EE4?
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```