Define authorized scope of projects for users

Changed in 82845bb.