locked
Changing application permissions RRS feed

  • Question

  • Hi,

     

    I had my application id's dataype access permission changed using Application Configuration Center.

     

    I hit a problem now and I am looking for some guidance on what the correct approach should be in such scenarios. 

     

    Initially I had 2 users who had shared their credentials with me. I still see these users in the authorized records collection.   Now, when I SetSelectedRecord to one of them and try to execute a query, I get access denied exception.

     

    I understand the exception is thrown because these users needs to be reauthorized now since the app permissions changed.

     

    I added a handler for such exception which will essentailly do a shell redirect for APPAUTH so that the user can reauthroize the user.  But there is no way I can specify which user am I trying to reauthorize while doing APPAUTH.  I want to force the user to be able to select the record on which I just called SetSelectedRecord.

     

    Any ideas what I should be doing here?

     

    Raj

    Wednesday, August 6, 2008 12:46 PM

Answers