6 lines
114 B
Ruby
6 lines
114 B
Ruby
class ErrorPolicy < AdminOrAuthorPolicy
|
|
def author?
|
|
@user == @record.execution_environment.author
|
|
end
|
|
end
|