gitlabhq/gitlabhq — pull request #8224 by liammonahan (2014-11-01 23:16:31+00:00)
Title: Expose projects_limit through users API if UserFull.

If the authenticated user of the API is an admin, they will be using the Entities::UserFull set of exposed params. This patch exposes User.projects_limit and updates the relevant documentation and tests.

As background justification for this proposed change, I had a use case to want to see how many projects a user is limited to for our site's GitLab installation. We do space auditing as a multiplier of the projects limit.