Hajk icon indicating copy to clipboard operation
Hajk copied to clipboard

KIR plugin - "Exportera" does not use AD-settings

Open maan002 opened this issue 1 year ago • 3 comments

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.

maan002 avatar Nov 15 '23 12:11 maan002

I dont think this is a bug, it's just unused visibleForGroups settings left in config. Read comment in PR.

jesade-vbg avatar Nov 17 '23 08:11 jesade-vbg

Backend does not remove/filter at that nested level. image

jesade-vbg avatar Nov 17 '23 08:11 jesade-vbg

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.

jesade-vbg avatar Dec 07 '23 07:12 jesade-vbg