You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need proxy settings for my plugin that accesses the Mouser api. I added values to the plugin settings. But those are visible to all admin users which might not be wanted. So I added environment variables which are only visible to the server admin. Anyhow this allows only one proxy setting for all Inventree users. User dependent plugin settings might be even better. I think my question was about user dependent settings: #4605
Thank you for your insights. This would also not be user-dependant.
I am probably missing details of your security approach, but superusers of an InvenTree instance can access the environment variables or files on the underlying server in the same scope as the InvenTree server process itself. So I do not really see how this approach would be any safer than using a setting that is "hidden".
Activity
matmair commentedon May 7, 2025
@SergeoLacruz I think you asked for something similar a while ago - any insights?
SergeoLacruz commentedon May 8, 2025
I need proxy settings for my plugin that accesses the Mouser api. I added values to the plugin settings. But those are visible to all admin users which might not be wanted. So I added environment variables which are only visible to the server admin. Anyhow this allows only one proxy setting for all Inventree users. User dependent plugin settings might be even better. I think my question was about user dependent settings: #4605
matmair commentedon May 9, 2025
Thank you for your insights. This would also not be user-dependant.
I am probably missing details of your security approach, but superusers of an InvenTree instance can access the environment variables or files on the underlying server in the same scope as the InvenTree server process itself. So I do not really see how this approach would be any safer than using a setting that is "hidden".
SergeoLacruz commentedon May 9, 2025
Thats true. But hidden settings have not been available yet when we started that,