McLive / DjangoPowerDNS

GNU Affero General Public License v3.0
26 stars 9 forks source link

New SuperUsers have no access to existing Domains #15

Open jared-hardy opened 5 years ago

jared-hardy commented 5 years ago

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.

McLive commented 5 years ago

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.

AysadKozanoglu commented 4 years ago

@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 ;-)