carbon2-commit: Merge some permissions corrections to trunk.