Fixed #7599 -- Added get_user_permissions to ModelBackend.

Thanks to:
- @gdub for the report.
- @gwilson for the initial patch.
- @charettes and @timgraham for the review.