[rt-users] CustomField for Users in code
Mario A. del Riego
delriego at fing.edu.uy
Mon Dec 15 16:01:22 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I have a problem a week ago, with CF for Users.
I need to compare two CFs (CF1 for tickets and CF2 for Users) when an
user download a file (other CF-multi-upload-file for tickets), so, i'm
editing "$RT3/share/html/Download/CustomFieldValue/dhandler" to add the
condition "if (CF1 > CF2) then download_file(CF3)".
Now, my problem is the access to CF2, i can't see it from source code.
I do:
while (my $cf = $session{'CurrentUser'}->CustomFields->Next) {
~ print $cf->Name;
};
...but nothing appears.
- - I give to the user all the rights, i mean (See|Modify|Admin)CustomField.
- - Another info -i dont know if it's relevant-, in "Preference" i can't
see the CFs for Users, it is right?
- - I'm testing with super-user 'root'
- - I'm working with RT 3.8.0.
...any idea?
Thanks in advance.
- --
Mario A. del Riego
Unidad de Recursos Informáticos
Facultad de Ingeniería - UdelaR
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklGxaIACgkQB6f+NSnOywREmACfckM6gAg2ZMC4KGOxHr8BP5Kl
x/sAn3hQBTe7lnlbFjG1gbQudu7HE6oh
=3hZa
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list