Integrating the questions back to the document. git-svn-id: http://soc.googlecode.com/svn/wiki@3209 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/GHOPImplementationDesign.wiki b/GHOPImplementationDesign.wiki index 1ffe21a..fe7eea6 100644 --- a/GHOPImplementationDesign.wiki +++ b/GHOPImplementationDesign.wiki
@@ -40,19 +40,16 @@ # Waits for those tasks to be approved by the OA. # While waiting for the OA to approve the tasks he realizes that task #3 is not correct, so he deletes it and he needs not to get approval for deleting the task at this stage. # OA approves other 2 tasks, reassigns Richard as a mentor for the task #2 but leaves task #1 as it is. - # Mentor John can edit both tasks #1 and #2 even though he is not the mentor of task #2 to change the task state, type, tags, time limit and difficulty including editing the task description content. + # Mentor John can edit both tasks #1 and #2 even though he is not the mentor of task #2 to change the task state, type, tags, time limit and difficulty including editing the task description content. (*Note:* mentors can edit the tasks irrespective of who created it or who is the mentor assigned) # Student David requests to claim the task #1 and student Paul requests to claim task #2. # Knowing Paul is a spammer, John rejects the request, but approves David's request, changes the task state to "claimed". # Now student Lisa requests to claim task #2 and Richard approves her request and changes the task state to "claimed". - # In the due course of progress, both mentors and students discuss about the task, David and John discuseed that David requires more time than it was originally specified for the task, so he increases the time limit by another 48 hrs. + # In the due course of progress, both mentors and students discuss about the task. David submits his work and checks, "NeedsReview". David and John discussed that David requires more time than it was originally specified for the task. So John sets the task state to "NeedsWork" and he resets the deadline to count from now. (*Note*: Deadline can be extended only when the task is being set to NeedsWork state) # Lisa on the other hand doesn't submit her work on time. So she automaticaly receives a 24 hour extension of the deadline together with a reminder email.Lisa neither replies not submits her work in next 24 hrs, so the task is automagically re-opened. # David submits his work and John is happy about it and sets the task state to "closed". # David now requests to claim task #2 and Richard accepts it and assigns task state to "assigned". # David and Richard realize that it is difficult to complete the task at all by GHOP students. - # Richard deletes the task even though he did not create it. David can claim another task now. -<Lennard> -Again without org admining giving permission? Should discuss :) -</Lennard> + # Richard sets the task state to reopened and then deletes the task even though he did not create it. He doesn't require permission from Org Admin at this stage. David can claim another task now. (*Note:* To delete a task, the task should not be claimed or assigned to any student) == Student == * Task Description View - All the fields set by OA/Mentors will be displayed. A button to "request to claim" the task will be provided. If the student has already requested to claim this task, we replace the "I request this task" button by "I withdraw". @@ -283,34 +280,10 @@ documentations and finalization. = Questions = - * Should mentors get approval from OAs to edit tasks? - -<Pawel>I think they shouldn't. If the tasks had been approved by OA any mentor should be able to edit them</Pawel> - -<Lennard> No they should not according to the GHOP meeting</Lennard> - - * Should mentor be allowed to edit any task or just the tasks he created. - -<Pawel>I would go with any task, but we need creation and last modification date properties and also created_by and modified_by properties too</Pawel> - -<Lennard> Any according to LH </Lennard> - - * Should mentors be allowed to delete any task, tasks created by himself, tasks created by him but not yet approved? - -<Pawel>Tasks created by himself (that are not claimed yet) and tasks created by him but not yet approved</Pawel> - -<Lennard>Yes that's correct, LH confirms, it's more logical that way</Lennard> - * Lennie suggested that for viewing individual task description, we will have a common URL to all the roles, i.e students/mentors/OA and then display the forms with specific actions they want to do and the edit page allows to edit the contents of the task. However my initial thought was to have a common Individual Task Description/Edit View for Mentors/OA where they can either edit the contents of the task as well perform actions like changing states, adding deadlines and relevant things and have a different URL for students to view the task description, request to claim it and upload the work after the work is complete. This is an open question. If you have something else other than these 2 please add them. <Pawel>Common url is fine with me the content of the page will change based on user Role so either way is fine.</Pawel> - * Should we allow deadline extension before student submitted his work? (i.e when the task is in progress) - -<Pawel>Nope, we don't want anybody to abuse the system that way</Pawel> - -<Lennard> Indeed NO, contest rules forbid this </Lennard> - * In PrizePerOrg model Lennie asked me to store the winner and runner-ups ordered. I have planned to store the winner and runner ups separately. Is it necessary that these need to be ordered still? If this kind of split between winner and runner ups is ok do we still need to order the runner ups in some order? * If the above properties of winner and runner ups are acceptable, I planned to store the runner ups as a list of *ReferenceProperty* s to Student model, which conceptually boils down to a PrizePerOrg 1:N Student relation and following the rules of Database design this needs to be stored as a reference to PrizePerOrg Model in the Student model. And this kind of design just for being conceptually correct is not making sense to me. I am a bit confused as to what to do here. Can any one suggest me a way out here please? \ No newline at end of file