Users can see all sites and site deployments by default
diff --git a/planetstack/core/models/site.py b/planetstack/core/models/site.py
index f368bbe..10f23c3 100644
--- a/planetstack/core/models/site.py
+++ b/planetstack/core/models/site.py
@@ -121,17 +121,6 @@
return True
return False
- @staticmethod
- def select_by_user(user):
- if user.is_admin:
- qs = Site.objects.all()
- else:
- site_ids = [sp.site.id for sp in SitePrivilege.objects.filter(user=user)]
- site_ids.append(user.site.id)
- qs = Site.objects.filter(id__in=site_ids)
- return qs
-
-
class SiteRole(PlCoreBase):
ROLE_CHOICES = (('admin','Admin'),('pi','PI'),('tech','Tech'),('billing','Billing'))