Generalize method and constant names for runner management
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user