#6184 show sidebar for all users, before "add dashboards" permission was required to view sidebar

This commit is contained in:
Alexander Meindl 2020-07-31 17:46:57 +02:00
parent 832fd537af
commit d87938fdd5

View File

@ -3,5 +3,4 @@
.sidebar-additionals
= textilizable Additionals.setting(:global_sidebar)
- if User.current.allowed_to? :save_dashboards, nil, global: true
= render_sidebar_dashboards @dashboard
= render_sidebar_dashboards @dashboard