added permissions.py to postentry.
Merge branch 'develop'