Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verberg groepsleden #408

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

aykevl
Copy link
Contributor

@aykevl aykevl commented Dec 25, 2016

Voor incasso, geen-incasso, en in de toekomst de leden die nog geen toestemming hebben gegeven voor het doorgeven van naam+studentnummer

Helaas is dit niet compleet, leden kunnen (ten minste) nog steeds op de volgende manieren worden gevonden:

  • mailman lijst lidmaatschappen
  • phassa groepen

Vandaar dat deze pull request nog niet compleet is (WIP), maar ik maak alvast een pull request voor review.

This isn't complete. Members of a group can (at least) still be
discovered in the following ways:
 * Mailman list members
 * Unix groups on phassa
Copy link
Member

@bwesterb bwesterb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er zijn nog veel meer plekken waar wordt gelekt wie in welke groep zit. Om welke groepen gaat het? Is het hebben van incasso of geen-incasso gevoelig?

for t in self.cached_tags:
self._tags_names_cache.update([
str(n) for n in t.names])
return self._tags_names_cache
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waarom niet gewoon

@property
def cached_tags_names(self):
    return frozenset(str(t.name) for t in self.cached_tags)

De cached_tags zorgt al voor de caching.

Misschien is het een idee om gewoon get_tags() caching te maken. Zie jij nadelen?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dat kan ook. Ik heb feitelijk cached_groups_names gekopieerd en aangepast.

@aykevl
Copy link
Contributor Author

aykevl commented Dec 31, 2016

Het idee is dat wie wel of geen toestemming heeft gegeven niet publiek hoeft te zijn. Het is niet echt privacygevoelig, maar het is alleen maar relevant voor het bestuur/secretariaat.
Mijn idee was om dit ook meteen op te lossen als ik toch al bezig was die groep te maken voor toestemming, maar na het mailtje van Rik weet ik niet meer of dat eigenlijk wel nodig is.

Weet je misschien waar groepsleden ook te zien zijn?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants