RTFM architecture questions

I am studying RTFM design for AssetTracker ideas.

  1. RT Mason components often use $session{‘CurrentUser’}. Since
    RTFM has RT/FM/CurrentUser.pm I would assume that RTFM
    components would expect $session{‘CurrentUser’} to be an
    object of type RT::FM::CurrentUser.

How is it accomplished to that $session{‘CurrentUser’} returns
the correct CurrentUser object in RT and RTFM components? Or
is something else going on here?

  1. RT/FM/CurrentUser.pm defines sub UserObj which returns
    an object of type RT::FM::User. But RT/FM/User.pm doesn’t
    exist and I can’t grep any package statements in other
    files.

Where is RT::FM::User?

Thanks!

-Todd

I am studying RTFM design for AssetTracker ideas.

I’d strongly suggest you have a look at the RTFM 2.1 branch. I’ve spent
much of the past week modernising RTFM and starting to better integrate
the RT core infrastructure.

Jesse