OpenDataServices / standards-lab

Open Standards Lab. A web tool for users and creators of Open Standards.
https://standards-lab.readthedocs.io/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Delete projects admin interface #142

Open michaelwood opened 3 years ago

michaelwood commented 3 years ago

Add a delete projects page

odscjames commented 3 years ago

Slight issue here:

  1. User A makes "proj"
  2. User Admin deletes "proj"
  3. User B makes "proj"
  4. User A will still have in it's session that it's the admin of "proj" and will have admin access to "proj"

The way to solve this is that when the project is deleted, we should really go through ALL sessions and clear that name out wherever we find it. But sessions aren't really designed for doing this and I'll bet there is no supported API to do this in Django. We could prob hack something but that is not appealing.

Or .... we just decide this is a total edge case and we don't care for now.