Commit Graph

15 Commits

Author SHA1 Message Date
319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
76f592c88d Consider RfC visibility to view / change RfCs 2023-02-20 23:47:06 +01:00
964048927a Updated teacher_in_study_group? method to check for common teacher role 2022-09-22 19:24:26 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
008d29fcd0 Improve performance for everyone_in_study_group 2021-01-23 00:15:31 +01:00
fb7d0eafe8 Fix permission check for exercises 2020-05-12 17:51:06 +02:00
914eeb6035 Add submission deadline to exercises and allow teachers to view their submissions 2020-05-07 21:23:27 +02:00
f4d6533c84 Fix study group policy 2020-04-16 12:27:59 +02:00
5dd641082e Limit access to the study group dashboard to teachers of that group
Also rename teacher_in_study_group? to add a `?` at the end
2019-12-20 16:18:31 +01:00
ff95fcd8f2 Allow all teachers of the same study group to edit their exercises 2019-12-04 15:31:33 +01:00
6e03939c10 Add StudyGroup to submissions and show it for submissions and RfCs
Also take care of deleting a StudyGroup for existing submissions
2019-03-06 14:00:58 +01:00
d3f67ab4c7 Rethink permissions in CodeOcean for usage in schools and adopt views 2018-12-12 14:09:19 +01:00
8896a3aa18 add role teacher to application_policy, implement teacher into team_policy 2016-05-31 17:40:00 +02:00
c99b0e6256 use #fail instead of #raise to signal exceptions, as suggested by RuboCop 2015-02-17 09:05:04 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00