Skip to content

Commit

Permalink
Add task permission to control to show debugbar
Browse files Browse the repository at this point in the history
  • Loading branch information
hissy committed Nov 11, 2021
1 parent d3645d1 commit fdc5c1a
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 234 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
"license": "MIT",
"minimum-stability": "stable",
"require": {
"concrete5/core": "^8.3",
"maximebf/debugbar": ">=1.0.0"
},
"replace": {
"psr/log": "~1.0",
"symfony/polyfill-mbstring": "~1.0"
},
"autoload": {
"psr-4": {
"Concrete5Debugbar\\": "src/Concrete5Debugbar/"
Expand Down
227 changes: 39 additions & 188 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions config/permissions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<concrete5-cif version="1.0">
<permissionkeys>
<permissionkey handle="show_debug_bar" name="Show Debug Bar" description="" package="concrete5_debugbar"
category="admin">
</permissionkey>
</permissionkeys>
</concrete5-cif>
Loading

0 comments on commit fdc5c1a

Please sign in to comment.