Hajk
Hajk copied to clipboard
KIR plugin - "Exportera" does not use AD-settings
Describe the bug All users can see the choices in the "Exportera" tab and press "Skapa Boendeförteckning" even if you configure that users must have a specific AD group to be able to export.
Expected behavior Either the export tab should be disabled or the contents of the tab should be disabled. A message should be displayed as to why the tab or content is disabled.
I dont think this is a bug, it's just unused visibleForGroups settings left in config. Read comment in PR.
Backend does not remove/filter at that nested level.
My previous comments is related to the fact that I was testing with wrong backend and nodejs-backed lacks this functionality. This will be adressed in #1438.
The sollution @maan002 presented in PR is working and has been merged.