Updated the mongoengine.django.auth.User so that authentication backends can use permissions.
Currently if you attempt to use an AuthenticationBackend that has a has_perm method, this will error out because the mongoengine User does not have a has_perm or a get_all_permissions method.
The methods I have added are nearly a complete copy paste from the existing Django User. The imported underscore functions spin through the backends and check permissions as the backend is programmed to do.
can now use AuthenticationBackends with permissions.
Added Garry Polley to contributors list