[2.4b2] DNS records link to machines that the users doesn't have permission to view
Bug #1767033 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
If you got to the default DNS domain in a freshly installed MAAS as a normal users, you'll see one or more entries for the region controller. Clicking on that link will result in a page saying "Error occurred".
Also, after that, you have to manually reload the page to continue. Just trying to go to another page in the UI doesn't work.
Either we shouldn't link to nodes that the user can't access, or we need to provide a better error message.
Related branches
~ack/maas:dns-records-filter-owned
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 398 lines (+126/-36)8 files modifiedsrc/maasserver/models/dnsdata.py (+14/-8)
src/maasserver/models/domain.py (+10/-10)
src/maasserver/models/staticipaddress.py (+32/-17)
src/maasserver/models/tests/test_dnsdata.py (+11/-0)
src/maasserver/models/tests/test_domain.py (+17/-0)
src/maasserver/models/tests/test_staticipaddress.py (+16/-0)
src/maasserver/websockets/handlers/domain.py (+3/-0)
src/maasserver/websockets/handlers/tests/test_domain.py (+23/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.4.0rc1 |
description: | updated |
Changed in maas: | |
importance: | Medium → High |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
Changed in maas: | |
assignee: | Mike Pontillo (mpontillo) → Björn Tillenius (bjornt) |
Changed in maas: | |
assignee: | Björn Tillenius (bjornt) → Alberto Donato (ack) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.