-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement: Add restriction for site admins to smartmenu(item), resolves #421 . #656
Improvement: Add restriction for site admins to smartmenu(item), resolves #421 . #656
Conversation
2ff3604
to
3939234
Compare
5e804b7
to
deb3551
Compare
I'll fix the typo in boost_union/tests/behat/theme_boost_union_smartmenusettings_menus_rules.feature in the next commit during review to save on running the complete CI run again. |
5696e9a
to
b9fa4ca
Compare
deb3551
to
dc4db86
Compare
Hi @NJahreis , many thanks for working on this nice improvement and welcome to the club of Boost Union contributors. Your code looked generally spot-on and, during my initial review, I had just rebased the branch onto latest main and had made some minor adjustments to the comments. But then I thought about the case that a menu (item) should be shown to all user except site admins which is not covered by your improvement yet and which also can only be realized with the other existing restrictions with additional effort. I will merge the PR as soon as the tests are green again. Cheers, |
33f9728
to
410d103
Compare
410d103
to
d78b2e1
Compare
Hi everyone,
like @VlastimilValaVspj (#421) suggested I would like to have a smartmenu only visible to site admins where I can directly link to some often used settings.
The current pull request code works but changes to the behat tests are not yet implementeted, as I would like to check if any major changes are necessary first before looking into the tests.