How to enable network namespaces (ip netns exec myns) for non-root?

I have created a network namespace (myns) and I can run commands with it using for example, ip netns exec myns bash. This works fine for root. But not for ordinary user: setting the network namespace "myns" failed: Operation not permitted.

There is a patch for other distributions to enable this, using sysctl -w kernel.unprivileged_userns_clone=1 but this setting does not seem to exist for Fedora.

How can I run a command via netns as non-root in Fedora?