Skip to content

Commit

Permalink
[4.0] add module permissions (joomla#29718)
Browse files Browse the repository at this point in the history
Applies the suggestion from @chmst to fix joomla#29372
  • Loading branch information
brianteeman authored and sakiss committed Oct 16, 2020
1 parent 556480f commit 2021f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</div>
</div>

<?php if ($user->authorise('core.create', 'com_modules')) : ?>
<?php if ($user->authorise('core.manage', 'com_modules')) : ?>
<div class="row">
<div class="col-md-6">
<button type="button" data-toggle="modal" data-target="#moduleDashboardAddModal" class="cpanel-add-module text-center py-5 w-100 d-block">
Expand Down

0 comments on commit 2021f07

Please sign in to comment.