Skip to content

Superuser has no permission #65

@ShipraShalini

Description

@ShipraShalini

When I login to django admin with super user I get the following message.

screen shot 2016-08-11 at 6 46 47 pm

The user_permissions array is also empty in mongodb.

{
"_id": ObjectId("57dc5db686w5c77e351e2e1c"),
"_cls": "User.Member",
"email": "member@example.com",
"password": "pbkdf2_sha256$24C000$7vNWGxjVxbr$LvauNaXnjlwPrGdG+3b1Cz04vpoW7f0kxV/0nkW6Abg=",
"is_active": true,
"is_superuser": true,
"last_login": ISODate("2016-08-11T12:03:58.895Z"),
"date_joined": ISODate("2016-08-11T11:12:53.376Z"),
"user_permissions": [],
"is_staff": true,
"username": "djadmin"
}

Is there anyway to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions