Kevin, any RPC's you use in your app need to be "registered" via a B-type menu option in file 19. Create an option and assign all of the RPC's you are using to that option, assign the option to the user(s) and create context right after you establish your broker connection.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Sent: Sunday, October 09, 2005 8:49 PM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] Re: RPC call security question "@" access overrides RCPB security rules. At 07:44 PM 10/9/2005, you wrote: >Reading some more, it appears that an application is supposed to >create a context for it to run in. This is apparently done by calling >RPCBroker.CreateContext(b_type_option_name). > >Searching in CPRS, I can only find calls with option names TX_OPTION >and TX_ECSOPT... which is not the OR CPRS GUI CHART that I had >expected. > >So now I am puzzled as to why it works at all with my user name. I >have MANY keys assigned to myself, and a very high level menu option >as my primary menu. And I aso have programmer access ("@"). I guess >it could be any of these things.... > >Puzzled. >Kevin > > > >On 10/9/05, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > Hmmm..... > > > > I have now assigned MAG WINDOWS as a secondary option for the user, > > and also gave them the security key MAG SYSTEM. > > > > And I am getting the same RPC error message. > > > > Any ideas anyone? > > > > Thanks > > Kevin > > > > On 10/9/05, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > One other quick thing, > > > > > > I think that it is MAG WINDOWS that must be assigned as a secondary > > > option to a user. > > > > > > Kevin > > > > > > On 10/9/05, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > > Never mind, I figured it out by reading the RPC broker help file. > > > > > > > > If a menu OPTION is specified to be a "b" type, then there is a > > > > multiple field called RPC. > > > > > > > > If a given RPC call is a member of the list held by the OPTION, and > > > > the user as this menu OPTION assigned as one of their secondary menus, > > > > then the RPC call is allowed. > > > > > > > > Thanks > > > > Kevin > > > > > > > > > > > > > > > > On 10/9/05, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > > > I have just tried to use my imaging CPRS with another user and am > > > > > getting this error: > > > > > > > > > > "The remote procedure MAG3 CPRS TIU NOTE is not registered to the > > > > > option OR CPRS GUI CHART." > > > > > > > > > > I remember reading that the menu option security system is used to > > > > > determine if a user is allowed to make a given RPC call. So this is > > > > > stemming from the fact that the new user has a different set of > > > > > assigned menus. > > > > > > > > > > But I don't know how to investigate this. Where and how is a > > > > > procedure registered to a particular menu option (or option tree)? > > > > > > > > > > When I do an inquiry of MAG3 CPRS TIU NOTE, I don't see any link to a > > > > > menu option. > > > > > > > > > > Thanks > > > > > Kevin > > > > > > > > > > > > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >Hardhats-members mailing list >Hardhats-members@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/hardhats-members ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members