[rt-users] CustomField for Users in code

2008-12-15 Thread Mario A. del Riego
-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-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is there a howto on setting up GPG w/ RT-3.8.0?

2008-08-22 Thread Mario A. del Riego
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ruslan Zakirov escribió:
|> You don't have to generate keys for users. Either you can import his
|> key or use keyservers.

Ok, you dont have to... but when 'myuser' sign or encrypt a comment on a
ticket, How RT get his private key? I can't understand that...

(I guess when you say 'import his key' is his public key)

Thanks.

- --
A\C Mario A. del Riego
Unidad de Recursos Informáticos
Facultad de Ingeniería - UdelaR
"La Universidad no puede ser un depósito indiferente de sueños
y frustraciones personales..." Dr. G. Perera
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkivY6sACgkQB6f+NSnOywSgugCfahvdUIHtHdGw9koVMAvLxETX
Hh4AoNYs/Cmvbn55nXVHSQY2MwfJW9MC
=h/OP
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Is there a howto on setting up GPG w/ RT-3.8.0?

2008-08-22 Thread Mario A. del Riego
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charlie Reddington escribió:
| Set(%GnuPG, Enable=>1, OutgoingMessagesFormat=>RFC,
| EncryptDataInDb=>0,);
| Set(%GnuPGOptions, homedir=>'/usr/local/rt-3.8.0/var/data/gpg',);

That's ok but not enough.
I'll tell you my own little experience.

The key's managment is the admin (root?)[0] with gpg by command line (
dont forget set the homedir in '/usr/.../gpg' like you said in your
config file)

For example, i have a user called 'myuser' associated with the mail
'[EMAIL PROTECTED]'.
You need create the par keys for that user (you know how, i guess) with
the email equal to the RT ('[EMAIL PROTECTED]').

After that, you need import that in the keyring (with root)

Vóila! Now, 'myuser' can select (from a select-box) his keys.

Cheers.

[0] 'admin' := homedir's owner
- --
A\C Mario A. del Riego
Unidad de Recursos Informáticos
Facultad de Ingeniería - UdelaR
"La Universidad no puede ser un depósito indiferente de sueños
y frustraciones personales..." Dr. G. Perera
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkivS80ACgkQB6f+NSnOywQkAwCfQTkMHZXvmvRbimaq3t86Hy2R
f4IAoLRTMdmso4T7LQk6rkq1S+6jc24J
=g12q
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Developing RT - Show changes without restart apache

2008-08-04 Thread Mario A. del Riego
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi, i'm new in RT. In my work I need to add some functionality to RT, so
it's very uncomfortable restart Apache on each change I want to make.
So, exist a simple way to view the changes (almost) immediately?

Thanks in advance.

- --
A\C Mario A. del Riego
Unidad de Recursos Informáticos
Facultad de Ingeniería - UdelaR
"La Universidad no puede ser un depósito indiferente de sueños
y frustraciones personales..." Dr. G. Perera
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiXrSQACgkQB6f+NSnOywTVpgCgw6K6TpKHBc0r2AkEbBWRyNwd
GhwAoMqnnsst3EiQ/cpfyryqeyEb+LFi
=a4pK
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com