From 82d5bcc0ed06f45db6d9b689691a4ccd05a81f28 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 13 Aug 2017 23:12:38 -0500 Subject: [PATCH] Add support for user events --- rattail_demo/web/templates/menu.mako | 5 ++++- rattail_demo/web/views/users.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rattail_demo/web/templates/menu.mako b/rattail_demo/web/templates/menu.mako index 912c6e0..d6f1e25 100644 --- a/rattail_demo/web/templates/menu.mako +++ b/rattail_demo/web/templates/menu.mako @@ -110,13 +110,16 @@ % endif - % if request.has_any_perm('users.list', 'roles.list', 'emailprofiles.list', 'datasync.list', 'settings.list', 'upgrades.list'): + % if request.has_any_perm('users.list', 'userevents.list', 'roles.list', 'emailprofiles.list', 'datasync.list', 'settings.list', 'upgrades.list'):
  • Admin