Skip to content

Commit

Permalink
[#2911] New tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Sep 21, 2012
1 parent 2a3eea1 commit c49c3d7
Showing 1 changed file with 42 additions and 8 deletions.
50 changes: 42 additions & 8 deletions doc/organizations_and_groups.rst
Expand Up @@ -220,17 +220,51 @@ The member table has field called capacity which should be used as follows:
Transition
==========

Member table - this does not seem to exist would be

I'd remove the member table as horrible and move to this model
::

+-------------+
|Member |
+-------------+
|Group/Org |
|User |
|Role |
+-------------+

+------------+
| |
+---+ dataset |
+-----------+ | | |
| group +---+ +------------+
| ownership |
| +---+ +------------+
+-----------+ | | |
+---+ group |
| |
+------------+



+------------+
| |
+---+ user |
+-----------+ | | |
| group +---+ +------------+
| membership|
| +---+ +------------+
+-----------+ | | |
+---+ group |
| |
+------------+

+----------------+
|group_membership|
+----------------+
|Group/Org |
|User |
|Role |
+----------------+

+----------------+
|group_ownership |
+----------------+
|Group/Org |
|Dataset |
+----------------+

Orgs would just be a group type with it's own forms and a field that
destiguishes it as an org. Probably it's own schema etc
Expand Down

0 comments on commit c49c3d7

Please sign in to comment.