mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Shelf permissions: reverted create removal
Reverted work in 847a57a49a
.
Left test in but updated to new expectation.
Left migration in but removed content to prevent new pre-v23.06
upgraders loosing shelf create permission status.
Added note to permission to describe use-case.
For #4375
This commit is contained in:
@ -44,11 +44,11 @@ $inheriting - Boolean if the current row should be marked as inheriting default
|
||||
'disabled' => $inheriting
|
||||
])
|
||||
</div>
|
||||
@if($entityType !== 'page' && $entityType !== 'bookshelf')
|
||||
@if($entityType !== 'page')
|
||||
<div class="px-l">
|
||||
@include('form.custom-checkbox', [
|
||||
'name' => 'permissions[' . $role->id . '][create]',
|
||||
'label' => trans('common.create'),
|
||||
'label' => trans('common.create') . ($entityType === 'bookshelf' ? ' *' : ''),
|
||||
'value' => 'true',
|
||||
'checked' => $permission->create,
|
||||
'disabled' => $inheriting
|
||||
|
Reference in New Issue
Block a user