REST API – Allow /users endpoint depending on a custom capability

REST API – Allow /users endpoint depending on a custom capability