Conversation

Replying to
Snap permissions are generally automatically enabled and the approval process is primarily by Canonical rather than requesting it from the user: snapcraft.io/docs/permissio It's also designed in a very coarse and problematic way. Not a good system. Still better than Flatpak though.
2
It's the failed attempt at providing a privacy/security model that's the problem. It might be better than Snap and other alternatives if you ignore all that. They made it a big part of it though. There are also APIs tied to it. They ported Chromium to using Flatpak sandbox APIs.
1
It does use namespaces. They don't offer a way to do the things that it does with SELinux. SELinux is an implementation detail not expose to app developers. It could be any other LSM. It's just how the fine-grained, hard-wired policy in the OS is written. It's not for app devs.
2
1
Namespaces and uids/gids are an implementation detail too. There are APIs like isolatedProcess for making an internal sandbox within an app and the way that uses uids/gids, SELinux, etc. is just an implementation detail. Apps can't do anything with SELinux policies / labels, etc.
1