Page MenuHomePhabricator

Allow members of a project to create subprojects
Open, Needs TriagePublic

Description

Currently, a user must have "Can Create" permissions for the Projects application in order to be able to create subprojects. Is this intentional? I think that one of the big benefits of subprojects is that users can create their own subprojects without littering the global project list.

Related Objects

Event Timeline

eadler added a project: Restricted Project.Mar 7 2016, 10:21 PM

This is currently intended, although I think it's not out of the question that we might relax it or otherwise take another look at it.

Right now, subprojects still litter the global space in a lot of ways (they're top-level in typeaheads, for example, and top-level in the Projects list, currently), and it was hard for me to imagine that users could be trusted to create subprojects but not create top-level projects. Are there specific reasons that you don't trust particular users to create projects, but do trust them to create subprojects?

If you're mostly concerned about project litter, are you thinking about UIs other than typeaheads/the main list?

A possibly finer-grained version of this is milestones -- these create somewhat less litter, but not hugely less.

Part of the pathway forward here may also be to reduce the prominence of subprojects in typeaheads/lists, or reduce it conditionally or something.

We tossed around some list design ideas internally (e.g., replace the list with hovercard-like cards?) and M10 is a much older mock with a card-based layout. We haven't found anything that feels good yet, but I suspect we'll refine the list somehow, sooner or later, since it's the one part of projects that didn't really get touched in this most recent iteration. The UI will probably be riper for rework after installs have more time to upgrade, experiment with subprojects, and start encountering problems or limitations with the existing list.

If we did adjust the UIs in a way that tended to reduce the prominence of subprojects, I'd be more inclined to look at refining the permissions, but it mostly feels to me like subprojects and top-level projects aren't very different from a permission standpoint right now.

We also have an interest in this. For us it isn't about 'trust' but about social expectations and affordances. We want users to talk to us before making a global project, but to be able to divide their own team as they wish.

If the motivation is primarily social, you might be able to use a social permission:

  • Create a Legalpad document (say, L1), with content like this:
  • I promise I will only use this power for good.
  • I will ask before creating any new global projects.
  • If I abuse this power, I solemnly swear and affirm I will buy the dev tools team a puppy / nice bottle of scotch / 3D printer to make amends.
  • Set "Can Create Projects" policy to: Custom Policy > [Allow] [Signers of legalpad documents] [L1].

That would actually work for us.

eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Mar 8 2016, 8:29 AM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 7 2016, 6:40 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 17 2016, 6:23 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 4 2016, 9:15 PM