Hi, Googled and tried following some posted suggestions for Chromium policies in Linux, but when I test with below json I can’t get it to work with /etc/opt/brave/policies/managed
Yes I know that, but when Brave runs in Flatpak these policies are located elsewhere because Brave is sandboxed. I want to know the policy json location for Brave running in Flatpak sandbox.
I have looked a bit at this again, and it seems I have a few corrections to make.
The proper solution would be to have a extension point for policies. As an example, the Chromium Flatpak offers an extension point. A extension containing the policy can be created and installed. This would be picked up by Chromium then.
However, Brave currently does not provide a extension point.
But, as it turns out, the launch script links the policy folder from the host /etc at startup, so it can actually read the policies in /etc/brave/policies/. This is possible as Brave sets the filesystem=host-etc permission, which gives it read access to the /etc folder.