Releases: spiral/keeper
Releases · spiral/keeper
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.3
- introduce
condition
attribute forui:tab
element, it will allow hiding tabs:
<extends:keeper:layout.tabs/>
<use:bundle path="keeper:bundle"/>
<?php
/**
* @var bool $condition
*/
?>
<ui:tab id="first" title="[[1st]]" active="true">
First tab
</ui:tab>
<ui:tab id="second" title="[[2nd]]" condition="{{ $condition }}">
Second tab
</ui:tab>
- add permission attribute for
@Link
annotation. Permissions for links (sidebar and breadcrumbs) will be generated using that property, as a fallback@Guarded
permission or method name will be used. This update will help to handle cases when a method is protected by a context-based permission rule, but for rendering such links in the sidebar and breadcrumbs the context can't be passed, so all you need is add an additional@Link
permission and register it with allow rule