Incorrect permissions returned when querying repository with app token


Even when an app has read/write repository permissions, retrieving a repository details via API always results in push and pull as false:

"permissions": {"admin": false, "push": false, "pull": false},

This seems like a bug. Any app with write permissions should get push and pull as true.