Generalize method and constant names for runner management

This commit is contained in:
Sebastian Serth
2021-09-13 12:49:56 +02:00
parent e752df1b3c
commit 30603cb7ab
18 changed files with 139 additions and 110 deletions

View File

@ -9,7 +9,7 @@ class ExecutionEnvironmentPolicy < AdminOnlyPolicy
define_method(action) { admin? || teacher? }
end
def synchronize_all_to_poseidon?
def sync_all_to_runner_management?
admin?
end
end