Merged #176 "Preserve refs in commits, tree, and docs navbar links"
Disable permission checkboxes if permission is inherited
Merge branch 'ticket/177' into develop