Version: 4.3.1 Reporter: Hop Studios —
User is in a member group that cannot View/Send cached email, but can see the Communicate page. The “Sent” menu option appears, and when clicked tells the user:
Error: You are not allowed to view the email cache.
https://www.dropbox.com/s/oackf3mi6yu4qmw/Screenshot%202018-07-03%2011.47.07.png?dl=0 https://www.dropbox.com/s/rdc763n8np27sfw/Screenshot%202018-07-03%2011.46.48.png?dl=0 https://www.dropbox.com/s/7u0sr5an8ycdiih/Screenshot%202018-07-03%2011.48.13.png?dl=0
I would think that this menu item should disappear when not permitted. But is it a bug? Hmmmm.
TTFN Travis
In system/ee/EllisLab/ExpressionEngine/Controller/Utilities/Utilities.php around line 52
$sidebar->addHeader(lang('communicate'), ee('CP/URL')->make('utilities/communicate'))
->addBasicList()
->addItem(lang('sent'), ee('CP/URL')->make('utilities/communicate/sent'));
change to
$left_nav = $sidebar->addHeader(lang('communicate'), ee('CP/URL')->make('utilities/communicate'));
if (ee()->cp->allowed_group('can_send_cached_email'))
{
$left_nav->addBasicList()
->addItem(lang('sent'), ee('CP/URL')->make('utilities/communicate/sent'));
}
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); } ```