Closed Bug 937673 Opened 11 years ago Closed 11 years ago

Modify groups model to allow user-created curated groups

Categories

(Participation Infrastructure :: Phonebook, defect)

2014-02.1
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hoosteeno, Assigned: dpoirier)

References

Details

(Whiteboard: [kb=1181227] )

Building curated groups will require us to modify the existing group model.

1) We need to add some fields:
* members_can_leave (yes/no, defaulting to yes)
* accepting_new_members (yes/no/by_request, defaulting to by_request)
* functional_area (yes/no)

2) We may be able to remove some fields (requires research): 
* system (verify whether we can remove)
* steward 

3) We may be able to rename some fields
* steward can become curator (or group owner)
* autocomplete and always autocomplete need to be researched and a solution for them specified -- see bug 921147

4) We'll need to migrate data from existing fields to new fields:

* if system = yes then (members_can_leave = no AND accepting_new_members = no)
* if there's a steward then functional_area = yes
* steward gets renamed to curator (or migrated if that makes more sense)

This is a complex transformation; please put questions in bug or IRC.

We will probably want to have bug 926692 completed before deploying this; we need to demo the feature somewhere.
Assignee: nobody → dpoirier
Status: NEW → ASSIGNED
Renaming "steward" to "curator" internally. 

In the UI, a curator of a functional area will still be 'Community Steward', but a curator of a group that is *not* a functional area will be called 'Curator'

"Browse functional groups" will list non-system groups that have their functional_area flag set.

"Browse groups" will list non-system groups that are not functional areas and that have at least one vouched member.

The group display page will be having bigger changes later, but at least for now, modified so that groups with members_can_leave false won't display the Leave Group button, and groups where accepting_new_members is "no" won't display the Join Group button.

The admin group list will add filters for functional areas and for system groups.
Whiteboard: [kb=1181227]
Resolving this since it's merged.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Commits pushed to master at https://github.com/mozilla/mozillians

https://github.com/mozilla/mozillians/commit/627ac1fb15911948d29b50853e636a23c1394e12
Bug 937673 - Modify groups model to allow user-created curated groups

* Add flags for functional area, members_can_leave, visible
* Get rid of system, auto_complete, and related fields

https://github.com/mozilla/mozillians/commit/a39e0d20650962fba438b5f74a1aecf39bc5538e
merging Bug 937673 - Modify groups model to allow user-created curated groups
Verified on stage. I can create and edit groups through the UI as expected. Nicely done!
Status: RESOLVED → VERIFIED
No longer depends on: 926692
Version: other → next
Version: next → 2014-02.1
You need to log in before you can comment on or make changes to this bug.