The "test-user-could-moderate" command:
Usage: fossil test-user-could-moderate ?-deny? user-name ...artifactNames
Tests whether a given user would have the ability to moderate the given artifacts. The -deny flag indicates that the check should permit moderation if the artifact is owned by the same user.