We can set ArcGIS online web map to grant the user (client application) full access.
Resource provided by ArcGIS server is from our customer and we can't set up anything there.
So let's focus on client side, just set up user access rights from our client application only.
Thanks swingley for your reply. What you mentioned for JS API side, to use Identity Manager, from my understanding, could handle the authentication (user login), but not authorization (user rights). Any thought?
Thanks,
Tony