The condition ‘Author does not exist’ in ‘Commit Hook: Commit Content’ does not recognize registered active users until they create at least one commit with the rule disabled.
- Set up a new test instance of Phabricator.
- Create a ‘Commit Hook: Commit Content’ global rule with ‘Author: Does not exist’ condition, which blocks pushes if matches.
- Create a repo. Clone it.
- Make sure git config’s user.name and user.email are the same ones as used in Phabricator.
- Push a commit.
- Observe that push is blocked.
Fresh Phacility test instance: