Commit 14e70a78 authored by Mike Kelly's avatar Mike Kelly Committed by Gerrit Code Review
Browse files

Check for institutional ownership of custom layout when importing LEAP2A



Bug #1266317

Change-Id: If065430bfd50b94597788c0ede91303cd1b476eb
Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
parent c8532969
......@@ -1225,7 +1225,7 @@ class PluginImportLeap extends PluginImport {
AND (
vl.iscustom = 0
OR (
vl.iscustom = 1 AND ucl.usr = ? AND ucl.group IS NULL
vl.iscustom = 1 AND ucl.usr = ? AND ucl.group IS NULL AND ucl.institution IS NULL
)
)
GROUP BY vlrc.viewlayout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment