ACL application micro-lc #539
Replies: 1 comment 17 replies
-
Hi @giovanni-motterle-mia-care , thanks for reaching out! To provide a custom extractor you need to mount a JS module that exports your function in the directory specified by the In Console, you need to create a new config map for your middleware instance with the JS file inside at the path specified in the variable above (if you use the default path remember to check the "Preserve files" box!). The function exported by the file cannot make HTTP calls (its execution is sandboxed for safety reasons), so your permissions must be contained either in the headers or the query parameters. If you are hitting a size limit we can think of a solution |
Beta Was this translation helpful? Give feedback.
-
What product are you having troubles with?
Microfrontend Composer
What Console version are you using?
v13.0.5
Description
Hi, I was reading about ACL expessions in micro-lc , specifically the ones based on permissions.
Permissions ACLs are based on a request header that contains the permissions list. Isn't it a limitation using headers in this use case? I know headers size is limited (I think it's 8kb default on node and customizable).
Since I would prefer not using headers, i thought that custom caller property extraction would come handy.
I don't understand how to create a "user-defined custom function" though. Moreover, is it possible to make HTTP calls inside of it?
Thanks
Actual Outcome
No response
Expected Outcome
No response
Beta Was this translation helpful? Give feedback.
All reactions