Updated the commit hook to support the new assignment of rights