improve enforcement of permissions
Merge branch 'master' of endless-turtles.com:projects/bugit