mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 16:12:32 -05:00
view only party
This commit is contained in:
1 parent
b6fb7c6977
commit
e88874e757
42 files changed
+620
-78
No files matched your search
@@ -116,6 +116,12 @@ class Submitter < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def viewer?
|
||||
return false if submission.template_submitters.blank?
|
||||
|
||||
submission.template_submitters.any? { |s| s['uuid'] == uuid && s['is_viewer'] }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def anonymize_email_events
|
||||
|
||||
Reference in new issue
Block a user