mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
mcp use template access
This commit is contained in:
1 parent
d578ca3cc9
commit
ef3d5bec7e
1 file changed
+2
@@ -46,6 +46,8 @@ module Mcp
|
|||||||
|
|
||||||
authorize!(:create, @template)
|
authorize!(:create, @template)
|
||||||
|
|
||||||
|
Templates.maybe_assign_access(@template)
|
||||||
|
|
||||||
if mcp_params['url'].present?
|
if mcp_params['url'].present?
|
||||||
tempfile = Tempfile.new
|
tempfile = Tempfile.new
|
||||||
tempfile.binmode
|
tempfile.binmode
|
||||||
|
|||||||
Reference in new issue
Block a user