]> BookStack Code Mirror - bookstack/commit
Updated shelf menu item to show on custom permission
authorDan Brown <redacted>
Sat, 9 Mar 2019 21:15:45 +0000 (21:15 +0000)
committerDan Brown <redacted>
Sat, 9 Mar 2019 21:15:45 +0000 (21:15 +0000)
commit042a6f9760337d28138d4c1e4c7ab570bce8804c
tree6e0c381f1126f35f1ccbf5f5363e82d91798c293
parent04287745e40b951252a67b048fdff87ef613075b
Updated shelf menu item to show on custom permission

- Extended new 'userCanOnAny' helper to take a entity class for
filtering.

Closes #1201
app/Auth/Permissions/PermissionService.php
app/helpers.php
resources/views/base.blade.php
tests/Entity/BookShelfTest.php