Homec4science

Projects - add "lock membership", which prevents people from leaving

Authored by Bob Trahan <btrahan@phacility.com> on Sep 18 2014, 20:00.

Description

Projects - add "lock membership", which prevents people from leaving

Summary:
Fixes T5603. Puts the toggling of locking membership into the editor so we get exceptions and all that.

I think the dialogue when you try to leave a project that is locked could be a little better maybe? Right now it just says "You can't leave" and "The membership is locked" more or less; should I surface a link to the policy stuff there too?

Test Plan:

  • made a project, toggled the "lock" setting, observed stickiness and good transactions being made
  • locked a project and tried to leave as a non-editor - got a dialogue letting me know i couldn't
  • locked a project and tried to leave as an editor - left successfully

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5603

Differential Revision: https://secure.phabricator.com/D10508

Details

Committed
Bob Trahan <btrahan@phacility.com>Sep 18 2014, 20:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH9b63f84ff93f: Generate reasonable expected schemata for Cache tables
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH3238f1e09142: Projects - add "lock membership", which prevents people from leaving (authored by Bob Trahan <btrahan@phacility.com>).Sep 18 2014, 20:00