Re: URL routing at runtime

Splash Forums PrettyFaces Users URL routing at runtime Re: URL routing at runtime

#20553

dodi
Participant

Lincoln,

First of all, tnks for your reply.

Let’s imagine my approot url is http://myportal.com , ok? So, this portal, has many “modules” inside it, let’s imagine that one of this modules is, the user access tracking report, that I would activate by the following URL: http://myportal.com/userTracking . So, the router will wask, okay, the current user have access to which version of this module?

Then in my database, I give access of the modules version by user role, so, if the current user is a developer or a tester (that wants to check, how the new version will work in the production enviroment) the router will redirect to the version 2.0 of the module. But if the user is a manager (that would like to see the stable version) then it will redirect to the version 1.0 .

Am I clear enough?

Tnks!