Re: [Cppcms-users] rbac and url
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2015-10-08 11:06:31
|
Yes http://cppcms.com/cppcms_ref/latest/classcppcms_1_1application.html#a8c884a9309d107237e8946446feba8f8 The application::main calls the dispatcher - it is virtual member function. You can do global checks there and afterwards call the dispatcher or original application::main Artyom From: mawan sugiyanto <ma...@gm...> To: cpp...@li... Sent: Thursday, October 8, 2015 1:47 PM Subject: Re: [Cppcms-users] rbac and url Is there any method that called before execute handler ..? On Thu, Oct 8, 2015 at 5:42 PM, mawan sugiyanto <ma...@gm...> wrote: Dear All I want to build Role Base Action Control. In classic web, they use url action (like handler in cppcms), and then control to user can or cannot do the action. The problem I saw the source of cppcms use urldispatch::dispatch to run handler. Is there any method that before url dispatched , it is not run the handler. So i can control that user can run in next process or not based on information during mapping url. Thankyou Mawan ------------------------------------------------------------------------------ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |