Add submission deadline to exercises and allow teachers to view their submissions
This commit is contained in:
@ -1,6 +1,14 @@
|
||||
class ExternalUserPolicy < AdminOnlyPolicy
|
||||
def index?
|
||||
admin? || teacher?
|
||||
end
|
||||
|
||||
def show?
|
||||
admin? || teacher_in_study_group?
|
||||
end
|
||||
|
||||
def statistics?
|
||||
admin?
|
||||
admin? || teacher_in_study_group?
|
||||
end
|
||||
|
||||
def tag_statistics?
|
||||
|
Reference in New Issue
Block a user