Merge pull request #235 from openHPI/remove_old_hints

Completely remove old hints connected to the execution environment
This commit is contained in:
rteusner
2018-11-30 15:41:01 +01:00
committed by GitHub
41 changed files with 54 additions and 744 deletions

View File

@@ -1,7 +0,0 @@
module CodeOcean
class ErrorPolicy < AdminOrAuthorPolicy
def author?
@user == @record.execution_environment.author
end
end
end

View File

@@ -1,5 +0,0 @@
class HintPolicy < AdminOrAuthorPolicy
def author?
@user == @record.execution_environment.author
end
end