refactored isAllowed into canRead and canWrite
Merge branch 'master' of github.com:asobolev/GCA-Web