Test commit show user actions based on permissions