]> andersk Git - moira.git/commitdiff
allow a user to get_filesys_by_label on a filesystem they own.
authordanw <danw>
Tue, 2 Nov 1999 02:34:44 +0000 (02:34 +0000)
committerdanw <danw>
Tue, 2 Nov 1999 02:34:44 +0000 (02:34 +0000)
(this has been on the bugs list since prehistoric times, and I finally
fixed it now because clients will need it to make the output of
"get_pobox" useful for IMAP boxes.)

server/queries2.c

index 306124ad750d38c6e1cc9cd9c8c82c7d182dcdf3..2f2bce2cc4006dcbe806049181a542110cdbb9c3 100644 (file)
@@ -1501,6 +1501,18 @@ static char *gfsl_fields[] = {
   "owner", "owners", "create", "lockertype", "modtime", "modby", "modwith",
 };
 
+static struct validate gfsl_validate = {
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  access_filesys,
+  0,
+  followup_fix_modby,
+};
+
 static char *gfsm_fields[] = {
   "machine",
   "label", "type", "machine", "name", "mount", "access", "comments",
@@ -3900,7 +3912,7 @@ struct query Queries2[] = {
     "fs.label LIKE '%s' AND fs.mach_id = m.mach_id AND fs.owner = u.users_id AND fs.owners = l.list_id",
     1,
     "fs.label",
-    &VDfix_modby,
+    &gfsl_validate,
   },
 
   {
This page took 0.056584 seconds and 5 git commands to generate.