Fetch restrictions for all applications

Fixes #514