scinote-web/app/models/soft_locked_repository.rb
2024-07-11 15:41:13 +02:00

11 lines
256 B
Ruby

# frozen_string_literal: true
class SoftLockedRepository < Repository
# this is for repositories only editable via API
enum permission_level: Extends::SHARED_OBJECTS_PERMISSION_LEVELS.except(:shared_write)
def shareable_write?
false
end
end