DjangoPowerDNS icon indicating copy to clipboard operation
DjangoPowerDNS copied to clipboard

New SuperUsers have no access to existing Domains

Open jared-hardy opened this issue 5 years ago • 2 comments

All the new users I've created after the initial Django superuser have blank /domains pages after login, and any direct URL link like /domains/2 results in a pink pop-up error stating "You don't have access to that domain". These users all have full pdns|* user permissions, both implicitly via superuser flag and explicitly via the /admin/auth/user/*/change/ "Chosen user permissions" on the Authentication and Authorization › Users interface.

jared-hardy avatar Jul 24 '19 20:07 jared-hardy

Currently you can only see domains where you have set "Owner" or "Member" permission. I will add an superuser check so they can always see all domains.

McLive avatar Jul 25 '19 11:07 McLive

@jared-hardy all new users should see blank domains (see nothing, every user can see only own created domains) . it is better to seperate "domain spaces" per user

@McLive thanks ;-)

AysadKozanoglu avatar Dec 10 '19 22:12 AysadKozanoglu