Work on permission checking
Merge branch 'master' of github.com:gerdkortemeyer/loncapa