You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recodex-wiki/User-documentation.md

72 lines
5.2 KiB
Markdown

# User documentation
## Student
8 years ago
### From registration to solution submit
- Registration can be made on separate page, _Create acount_ link from left menu. There are two forms, one for ReCodEx authentication and one for CAS (Charles University Authentication System) authentication. During the process instance has to be chosen. After successful registration you will be automatically logged in.
- Login forms are located on page accessible through _Sign in_ link from menu. The same type of form as the registration must be used. After login occurs redirection to _Dashboard_ -- page with overview of achievements for each group user is member of.
- New page with details about used instance is accessible from menu, specificaly containing list public groups. From group detail page is possible to join (or leave) the group. Private groups are hidden and only supervisor can add students to that group.
- Pages of joined groups are accessible from menu. There is a list of assigned exercises. Detail of each assignment contains description of problem, deadlines, already submitted solution and other information.
- Solution is submitted from assignment detail page through _Submit new solution_ button. After uploading source files the evaluation will start showing current progress. When finished, button _See results_ redirects to page with results summary.
### Password reset
8 years ago
- Password reset could by done only for ReCodEx authentication, CAS has its own system.
- Under login form there is a link leading to forgotten password page. After providing an email address a message with short term link to password change page is sent.
- On that page the new password can be set. Please note that password change link is time limited and is functional only for few minutes.
8 years ago
## Group supervisor
8 years ago
### Create and update exercise
8 years ago
- Not implemented in web application yet!
### Assign exercise to group
- On group detail page is search box for exercises. Every match has a button _Assign_ which redirects to configuration page. Assignment text, visibility to students, time and memoty limits for tests, deadlines and other informations can be set there.
- Assigned exercises are shown in separate box in group detail page, where is also button for editing each assignment.
### Add student to group
8 years ago
- Groups can be public or private. Public groups are visible to all instance users and students can join them. Private ones are hidden and students can be only added to them.
- Supervisor of group can add students to it by hand on group detail page through _Add student_ search box.
### View students results
- Agregate results for each assignment are accessible through _View student results_ button on assignment detail page. There is a list of submissions for every group member.
- Each submission can be viewed in detail including submitted files on special page.
8 years ago
8 years ago
## Group administrator
### Create sub-group
8 years ago
- Group administrator can create sub-groups of his own groups.
- On group detail page there is a form for creating new subgroup, including fields for brief description in Markdown and other basic information.
- Newly created group is shown in refreshed group hierarchy.
### Add and delete supervisor
- On group detail page is list of supervisors and search form for adding new ones.
- Supervisors are searched by their names and surnames. Adding supervisor immediately changes supervisor list from where the removal is possible.
8 years ago
## Superadministrator
Superadmin is user with the most priviledges.
### Users management
There are only few roles to which users can belong in ReCodEx. Basically there are only three: _student_, _supervisor_, and _superadmin_. Base role is student which is assigned to every registered user. Roles are stored in database alongside other information about user. One user always has only one role at the time. At first startup of ReCodEx administrator should create his/hers account and then change role in database by hand. After that manual intervention into database should never be needed.
8 years ago
There is a little catch in groups and instances management. Groups can have admins and supervisors. This setting is valid only per one particular group and has to be separated from basic role system. This implies that supervisor in one group can be student in another and simultaneously have global supervisor role. Changing role from student to supervisor and back is done automatically by application and should not be managed by hand in database! Previously stated information can be applied to instances as well, but instances can only have admins.
8 years ago
Roles description:
8 years ago
- Student -- Default role which is used for newly created accounts. Student can join or leave public groups and submit solutions of assigned exercises.
- Supervisor -- Inherits all permissions from student role. Can manage groups to which he/she belongs to. Supervisor can also view and change groups details, manage assigned exercises, view students in group and their solutions for assigned exercises. On top of that supervisor can create/delete groups too, but only as subgroup of groups he/she belongs to.
8 years ago
- Superadmin -- Inherits all permissions from supervisor role. Most powerful user in ReCodEx who should be able to do everything which is provided by application.