Skip to content

Commit

Permalink
[4.0] add module permissions (#29718)
Browse files Browse the repository at this point in the history
Applies the suggestion from @chmst to fix #29372
  • Loading branch information
brianteeman committed Jun 21, 2020
1 parent bafee81 commit a517db3
Showing 1 changed file with 1 addition and 1 deletion.
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 a517db3

Please sign in to comment.