add permission for Commit doc type.