Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Allow assignment of issues to non-collaborators #100

Closed

Description

@patcon

Context: drush-ops/drush#88 (comment)

Currently, if a potential contributor want's to publicly assign themselves to a particular issue, they apparently must be granted push access to the repo. This makes it difficult for a potential contributor to "bookmark" an issue for later effort, making full use of this issue listing:
https://github.com/dashboard/issues/assigned?direction=asc&sort=updated&state=open

(Alternatively, "push" access collaborators should also be able to assign issues to themselves. Specifically reticketed this is #153)

cc: @greg-1-anderson

(Sent an email to [email protected]. Will publish response here. Whoop whoop!)

Activity

  1. patcon commented on Sep 17, 2013

    @patcon
    Author

    Email sent!

    Hey @jgreet! (Worth a shot, right?)

    Just filed a ticket here if you would be so kind as to add it to your internal issue tracker:
    #100

    Thanks yo!

    Patrick

    Also, here is some daily double-bear-learning:

    Bears are mammals of the family Ursidae. Bears are classified as caniforms, or doglike carnivorans, with the pinnipeds being their closest living relatives. Although only eight species of bears are extant, they are widespread, appearing in a wide variety of habitats throughout the Northern Hemisphere and partially in the Southern Hemisphere. Bears are found on the continents of North America, Central America, South America, Europe, and Asia.

    Common characteristics of modern bears include large bodies with stocky legs, long snouts, shaggy hair, plantigrade paws with five nonretractile claws, and short tails. While the polar bear is mostly carnivorous and the giant panda feeds almost entirely on bamboo, the remaining six species are omnivorous, with varied diets.

    Bears are mammals of the family Ursidae. Bears are classified as caniforms, or doglike carnivorans, with the pinnipeds being their closest living relatives. Although only eight species of bears are extant, they are widespread, appearing in a wide variety of habitats throughout the Northern Hemisphere and partially in the Southern Hemisphere. Bears are found on the continents of North America, Central America, South America, Europe, and Asia.

    Common characteristics of modern bears include large bodies with stocky legs, long snouts, shaggy hair, plantigrade paws with five nonretractile claws, and short tails. While the polar bear is mostly carnivorous and the giant panda feeds almost entirely on bamboo, the remaining six species are omnivorous, with varied diets.

  2. patcon commented on Oct 24, 2013

    @patcon
    Author

    Oops. Forgot to post response:

    Hey Patrick,

    Sure thing, I've added assigning issues to non-collaborators to our internal feature request list.

    Thanks for the feedback and the link to the original discussion.

    Cheers,
    John

  3. sindresorhus commented on Dec 17, 2013

    @sindresorhus
  4. weitzman commented on May 9, 2014

    @weitzman
  5. mottosso commented on Aug 28, 2014

    @mottosso

    Has this been added yet?

  6. paazmaya commented on Sep 9, 2014

    @paazmaya

    Would make life easier 👍

  7. sboeser commented on Nov 10, 2014

    @sboeser

    I would also quite like this 👍

  8. ThomasAy commented on Mar 13, 2015

    @ThomasAy

    I would love this 👍

  9. PhantomYdn commented on Apr 9, 2015

    @PhantomYdn

    Fully agree with this request 👍

  10. mgechev commented on May 20, 2015

    @mgechev
  11. aniav commented on Jun 4, 2015

    @aniav

    Definitelly would want that!

  12. ldemailly commented on Aug 12, 2015

    @ldemailly

    want ! ty

  13. le4ker commented on Nov 8, 2015

    @le4ker
  14. elennick commented on Dec 5, 2015

    @elennick

    +1

  15. 44 remaining items

  16. kkm000 commented on Apr 5, 2019

    @kkm000

    @clarkbw, thank you, I think this is a great idea! No additional setup, no need to add collaborators to a list, or do anything at all. Super!!! I would love to see it implemented this way!

  17. yatil commented on Apr 5, 2019

    @yatil

    @clarkbw That would be incredibly useful for us at @w3c. Maybe just allowing it for organizations and not for individual repositories could be another way to limit the abuse vector. (Thanks for thinking about that, btw., it is an important consideration!)

  18. bazzilic commented on Apr 5, 2019

    @bazzilic

    @yatil Bulletproof plan. These stupid spammers and abusers will never figure out how to create an organisation!

    @clarkbw Great to hear that you guys are working on this! If a person follows/starred a repository, wouldn't this be enough for the repo owner to be able to assign issues to them?

  19. TPS commented on Apr 5, 2019

    @TPS
    Collaborator

    @clarkbw I don't quite understand how that abuse potential isn't easily averted: Wouldn't a simple invitation system solve it? (That's not saying the backend would be easy!) E.g., a user w/ rights assigns whomever. Said whomever receives UI/e-mail invite to accept assignment to issue. If declining, can do so semi-permanently (like "Block Users" UI, easily reversible) per inviter/repo/org/whatever.

  20. clarkbw commented on Apr 5, 2019

    @clarkbw
    Collaborator

    @TPS that system is elegant even through it takes some backend work. The issue is then with notifications. Imagine I keep creating issues with the title “TPS is stupid” and you get those in your inbox. You could imagine a 1 step abstraction where we notify you of an invitation without the title. But eventually you’ll need to see the title or content to know it’s valid. Blocking at this stage is valid and means you should only see this thing once. But our research so far shows that assigning to someone who has never participated in the repo at all is a very low occurrence event. It seems like a good compromise to ask that someone participate even a little before they can be assigned. Perhaps later we’ll find you’re right and we need to expand it, but that’s ok; we can do that after. Or further research could change our minds now. Still investigating.

  21. TPS commented on Apr 6, 2019

    @TPS
    Collaborator

    @clarkbw I agree an assignee should've had some interaction w/ the repo/org/assigner/whatever. But I believe that invitation system is necessary on top of that, perhaps w/ Settings toggles:

    • Automatically accept all assignments w/o invitation {default OFF, please}
    • Allow invitations to assignment when I
      • Open PR/issue
      • Comment in
        • reply to [usergroup w/ appropriate rights, whatever's that's called 🤔]
        • PR/issue
        • repo
        • org
      • Have no relationship whatsoever {default OFF, please}
  22. kkm000 commented on Apr 7, 2019

    @kkm000

    @TPS, an invitation system is a non-starter. With it, instead of tracking issue assignment to non-members on banana peels, I would be tracking (a) invitations to non-members to become "assignees" sent/responded/unresponded on banana peels, and also (b) issues assigned to non-bemebers who blocked the invitation with your battery of checkboxes. Look, you just stabbed the whole idea in the heart.

    As I understood @clarkbw's idea, I would be able to assign the issue the guy who said "Ok, I'm taking it" so I do not lose track of the ticket. If the guy never said anything in my repo, I won't be able to assign the issue (nor do I want to).

    Besides, I would call someone who first posts a message "ok, I'll do that" and then cuts all communication not an “extraordinarily privacy-conscious user”, but rather “a windbag.” I do not think we need a special checkbox for this.

  23. TPS commented on Apr 7, 2019

    @TPS
    Collaborator

    Well, @kkm000 & @clarkbw, IMHO, you can't have absolutely both @ the same time: either this will be convenient (for assigners) or protecting from abuse (for assignees). I'd advise defaulting those suggested settings above as y'all mentioned for assigner's convenience, but notifying assigners immediately upon assignment if the assignee's preferences prevent such (since I expect most folks to leave defaults mostly as-is). (N.B.: I added an additional toggle to the above settings mockup for those who'd like willy-nilly assignment! 🤷🏾‍♂️)

    Besides, @kkm000, assigning an issue shouldn't prevent an assignee unassigning themselves, nor does it ensure that they'll actually accomplish the assignment! Any which way, the assigner still has the responsibility to check on progress, even if they're not actually expecting to do whatever themselves!

  24. mekarpeles commented on May 2, 2019

    @mekarpeles

    Been hoping for this for months:

    1. request to be assigned to an issue (without having read / write access)
    2. ability to assign someone to an issue (or at least invite assignment w/o them having read / write access)

    We're looking into this. Being able to assign anyone randomly is an abuse vector because I can create an issue with an abusive title and assign a person to it to harass them.

    I don't buy it. Such abuse can and likely does happen anyway as one can tag anyone in such issues as described. People who abuse the system should be labeled as abusers and this shouldn't be a limiter on effective user experience for the "rest of us".

    To prevent this we're likely to require that a person has interacted with repository in some fashion via commits or commenting in an issue; a low enough bar that limits abuse.

    This doesn't prevent any attack vectors. The reason a person is getting assigned to a task is presumably an admin on the project is vouching for the user (unless the user is attempting to assign themselves, which perhaps would require approval).

    I think the egregious case is where a user doesn't want to be associated with a project or an issue, in which case there should be a separate feature for a patron to block a project or an account and sidestep this problem completely. Again, this doesn't seem very different from if a user were to be tagged in a comment (rather than assigned). e.g. Facebook allows a user to "untag" themselves from a post. It would be absurd for Facebook to prevent tagging (unless perhaps a user had configured such a setting). These two use cases (perceived abuse vectors, project management affordances) shouldn't be conflated together -- both problems should be solved independently and not to each other's exclusion. Security not at the expense of making it easy for new patrons to meaningfully contribute and feel welcomed in a community.

    Idea: Why not pending Assignees? Show "User Assigned [pending]".

    Right now one can work around this by creating Assigned-to: @person labels which feels like is a complete hack.

  25. alallier commented on Jun 25, 2019

    @alallier

    GitHub now allows you to assign issues to issue commenters

  26. scottcwilson commented on Jul 15, 2020

    @scottcwilson

    It would be great if we could go just a bit further and be allowed to assign issues to anyone who has contributed to the project. Right now it's three steps (ask them to comment, they comment, you assign); would be better if it was one step.

  27. mistercrunch commented on Oct 16, 2020

    @mistercrunch

    Looks like giving the Read role allows assigning issues to them.
    Screen Shot 2020-10-15 at 11 00 01 PM
    source

    Not the ideal solution in all cases, but it may work for some of the people who commented here.

  28. TPS commented on Oct 16, 2020

    @TPS
    Collaborator

    @mistercrunch Sadly, this seems available only among members of the same org, so no cross-/non-org assignment via this read permission. It'd be great to have this ability expanded globally!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions