repo-permissions: moved permissions into pyramid....
repo-permissions: moved permissions into pyramid.
- fix issues when added new perms changed those already in the form
- fixed issue with default user overriding permissions when private repos where turned on.
- Two above are not security issues, but rather making the behaviour more consistent.