Closed simonw closed 3 years ago
I'm going to put this interface at at /dashboard/<slug>/edit/
Creating dashboards will start with a button on /dashboard/
- which will redirect the user to the new /dashboard/<slug>/edit/
page for further changes.
For the first non-alpha release I'm going to link to the Django admin interface for edit.
This means I need to write custom admin permission logic that takes the edit permissions and groups into account.
I'm going to allow super-users to reassign ownership of dashboards - but regular users will not be able to do that, even if they own the dashboard.
Spotted an edge-case: if a user isn't staff they will not be able to access the edit interface, no matter what the edit policy is.
That test failure turned out to be a Django version problem! Upgrading to the latest Django in my dev environment gave me the ability to replicate the bug.
This is currently only possible in the Django Admin. This will also implement edit permissions, taking over from #27.
Still todo: