Actions

Difference between revisions of "Developer Area/Specifications in Development/Groups csv create"

From Mahara Wiki

< Developer Area‎ | Specifications in Development
(Group ID)
Line 6: Line 6:
  
  
==Group ID==
+
==Group idnumber==
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
+
The group idnumber 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)
or we could have a unique nullable field in db, and provide some unique default to store (which can be changed)
+
 
 +
We could either have a nullable field in db, that we enforce uniqueness on or we could have a unique non-nullable field in db, and provide some unique default to store (which can be changed).
  
 
==CSV to create groups==
 
==CSV to create groups==

Revision as of 14:50, 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 idnumber

The group idnumber 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 nullable field in db, that we enforce uniqueness on or we could have a unique non-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