Merge branch 'p2_restrict' into 'master'

Add P2 Functions

See merge request terraneo/tinyhhg!135
26 jobs for master in 76 minutes and 37 seconds (queued for 3 minutes and 45 seconds)