On Tue, Aug 19, 2014 at 9:05 PM, Daniel <[email protected]> wrote:
> I have a flask application I am writing. I need to know how to pass a > variable to the decorator of a function. The decorator will determine if a > user is authorized to view a page. The variable I would use would have the > user id and role. Can anyone help with this? > Here's an example that does something like you're talking about: https://gist.github.com/jcelliott/ec23ef0948dbc834e5bb /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
