Actions

Difference between revisions of "Proposals/Done/Groups csv create"

From Mahara Wiki

< Proposals‎ | Done
m
Line 5: Line 5:
 
  Create a csvfile structure for uploading csvs to enrol users into groups
 
  Create a csvfile structure for uploading csvs to enrol users into groups
  
 
<div id="section_1">
 
  
 
==Group ID==
 
==Group ID==
The group id will be a unique nullable field that holds a shortname or groupid
+
The group id will be a unique field that holds a shortname or groupid
 
which is different from the already present id field (which is only for the database)
 
which is different from the already present id field (which is only for the database)
  
</div><div id="section_2">
+
We could either have a nonnull field in db, that we enforce uniqueness on
 +
or we could have a unique nullable field in db, and provide some unique default to store (which can be changed)
  
 
==CSV to create groups==
 
==CSV to create groups==
 
This file will need to have group name, group shortname, group desc, group type
 
This file will need to have group name, group shortname, group desc, group type
 
</div><div id="section_3">
 
  
 
==CSV to enrol users into groups==
 
==CSV to enrol users into groups==
Line 24: Line 21:
 
- The studentid will be focused on to start with, then other ways of identifying the user
 
- The studentid will be focused on to start with, then other ways of identifying the user
 
may be created, such as username or email
 
may be created, such as username or email
 
</div>
 

Revision as of 14:41, 23 May 2011

The following changes would need to be made to allow this.

Create a groupid or shortname which is unique (but can also be null)
Create a csvfile structure for uploading csvs to create groups
Create a csvfile structure for uploading csvs to enrol users into groups


Group ID

The group id will be a unique field that holds a shortname or groupid which is different from the already present id field (which is only for the database)

We could either have a nonnull field in db, that we enforce uniqueness on or we could have a unique nullable field in db, and provide some unique default to store (which can be changed)

CSV to create groups

This file will need to have group name, group shortname, group desc, group type

CSV to enrol users into groups

This file will need to have group shortname, user studentid

- The studentid will be focused on to start with, then other ways of identifying the user may be created, such as username or email