Menu

#53 Change user from file menu item  Edit

pending
nobody
None
5
2011-09-22
2011-05-28
No

Hi,

when I use a change user function in file menu, I see that there are problems with button permission.
I set a export button disabled for my application user and on amministrative one this button is enabled.
If I login in my application with amministrative user and then I use change user function, even if new user is not enablet to export grid, button is enabled.
On the other hand, if i close application and enter with the same user, button is correctly disabled.
I thinks that some permission variable is dirty.

Any Idea?

Thanks in advance.

Discussion

  • mcarniel

    mcarniel - 2011-09-22

    Well, it depends on how you have set the authorization the first time...
    You could check JAllInOne permissions settings in ClientApplet class:
    as you can see, authorizations are read from OpenSwing through the callback method

    public ApplicationParametersVO getAuthorizations()

    so, it is important that what you return in this method is always "freshed".

    In JAIO, this method return the content of a class attribute and this attribute is freshed in several points (according to several events):
    - within authenticateUser method, when you log on
    - inside getApplicationFunctions, in case the language has changed

    It seems that you do not have set authorizations in all right points...

     
  • mcarniel

    mcarniel - 2011-09-22
    • status: open --> pending
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.