Release of v4.0.0-beta1

Add the compiler menu back. Fix the CustomfolderlistField #1094.
This commit is contained in:
2024-04-07 11:54:20 +02:00
parent 359b4dd92b
commit 6cb5f05f1e
20 changed files with 54 additions and 179 deletions

View File

@ -6125,6 +6125,11 @@ abstract class ComponentbuilderHelper
$user = Factory::getApplication()->getIdentity();
// load the submenus to sidebar
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_DASHBOARD'), 'index.php?option=com_componentbuilder&view=componentbuilder', $submenu === 'componentbuilder');
// Access control (compiler.submenu).
if ($user->authorise('compiler.submenu', 'com_componentbuilder'))
{
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_COMPILER'), 'index.php?option=com_componentbuilder&view=compiler', $submenu === 'compiler');
}
if ($user->authorise('joomla_component.access', 'com_componentbuilder') && $user->authorise('joomla_component.submenu', 'com_componentbuilder'))
{
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_JOOMLA_COMPONENTS'), 'index.php?option=com_componentbuilder&view=joomla_components', $submenu === 'joomla_components');