◄ ► | Edit | Home | Admin | en de fr et | Sign in

#6932 (uploads.Upload is now PrivacyRelevant)

by Luc Saffre · in Developers

Summary

In Patrols we want users to decide whether a file they have uploaded is visible to other users or not. And I thought that this actually makes sense for all other applications as well. That's why I modified the modlib plugin. Or am I wrong?

Children

Comments

  • 3 months, 1 week ago by Luc Saffre about #6932 (uploads.Upload is now PrivacyRelevant) : We have a new method PrivacyRelevant.get_default_value_for_private(), which returns False for Upload and dd.plugins.user.private_default for all other models.
  • 3 months, 1 week ago by Luc Saffre about #6932 (uploads.Upload is now PrivacyRelevant) : When migrating existing production sites we actually want upload.private to be False by default. But right now it is True by default (more precisely users.private_default, which is True except in Noi where we override the default value to be True). But the setting users.private_default is also used ...
  • 3 months, 1 week ago by Luc Saffre about #6932 (uploads.Upload is now PrivacyRelevant) : Created new Ticket #6932 (uploads.Upload is now PrivacyRelevant).