summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-20 18:02:23 +0200
committerSimon Rettberg2016-05-20 18:02:23 +0200
commit684d5ca47788eed4bdd8fa30a29b9979acb1f4b4 (patch)
tree4259b9ede9880a60007a43f9f6dd6eba46ff454b /data
parent[ipxe] Also create usb image (diff)
downloadtmlite-bwlp-684d5ca47788eed4bdd8fa30a29b9979acb1f4b4.tar.gz
tmlite-bwlp-684d5ca47788eed4bdd8fa30a29b9979acb1f4b4.tar.xz
tmlite-bwlp-684d5ca47788eed4bdd8fa30a29b9979acb1f4b4.zip
[ldap/ad] Support home directory remapping options
Diffstat (limited to 'data')
-rw-r--r--data/dozmod-upgrade.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/dozmod-upgrade.sql b/data/dozmod-upgrade.sql
index f235926..190436e 100644
--- a/data/dozmod-upgrade.sql
+++ b/data/dozmod-upgrade.sql
@@ -81,7 +81,7 @@ DELETE pm
-- Migrate image permissions
INSERT IGNORE INTO sat.imagepermission(imagebaseid, userid, canlink, candownload, canedit, canadmin)
SELECT pm.GUID_imageID, pm.userID, pm.link_allowed, pm.image_read, pm.image_write, pm.image_admin
- FROM bwLehrpool.pm_VLData_image AS pm;
+ FROM bwLehrpool.pm_VLData_image AS pm WHERE pm.userID IN (SELECT userid FROM sat.user);
-- Delete lectures which link to a non existing image
DELETE lec