andk / pause

Perl authors upload server
http://pause.perl.org/
150 stars 59 forks source link

wishlist: send email notifications when permissions change #150

Open karenetheridge opened 9 years ago

karenetheridge commented 9 years ago

If someone gives me comaint on a module (or takes it away, etc), I'd like to receive an email notification to that effect. e.g.:

Matt Trout (MSTROUT) has given you comaint ('c') permission on the following modules:
Foo::Bar (first-come: BOB)
Foo::Baz (first-come: CATHY)
...
kentfredric commented 9 years ago

+1: It would probably be better to have it batched into hourly emails, otherwise explosions like "Give ETHER everything with ADAMK" could result in a substantive inbox explosion.

Additionally, I would assume such a mechanism would also report new releases that grant you access on modules, but only if you didn't upload them. ( Which transpires with x_authority and friends )

For instance, I'd expect that if I had

    x_authority: "ETHER"

And uploaded a dist, ETHER would see that a new dist exists that she is first come on, or if I had an existing dist, any new modules giving her first come implicitly would also tell her.

kentfredric commented 9 years ago

Possibly worth while also to have some sort of toggle for "I don't care about perms" flag to silence such emails, or have a non-email driven interface that gives a time/sequence search of various permission change types. ( ESOUNDSLIKEWORK )

karenetheridge commented 9 years ago

It would probably be better to have it batched into hourly emails

I was figuring every permission change in a single transaction would result in a single email, so unless mst is clicking 'submit' one module at a time, there shouldn't be an explosion.

Additionally, I would assume such a mechanism would also report new releases that grant you access on modules

Yes, please! that would be quite handy.

but only if you didn't upload them

It might be useful to still know that a new entry is being added to the permissions database, ploading a module for the first time. Perhaps too much information for new authors though?

Possibly worth while also to have some sort of toggle for "I don't care about perms" flag

I'd put that in the YAGNI category until someone complained. :)