From e9998cb5971c3ddd0baa0963cfbbf05b7cb8ddc2 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 11 Dec 2016 21:21:44 -0600 Subject: [PATCH] Add basic support for datasync views Still no actual daemon wired up yet, but can fake it for UI with this --- rattail_demo/web/templates/menu.mako | 5 ++++- rattail_demo/web/views/__init__.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 e330925..19c6c8d 100644 --- a/rattail_demo/web/templates/menu.mako +++ b/rattail_demo/web/templates/menu.mako @@ -110,7 +110,7 @@ % endif - % if request.has_any_perm('users.list', 'roles.list', 'emailprofiles.list', 'settings.list'): + % if request.has_any_perm('users.list', 'roles.list', 'emailprofiles.list', 'datasync.list', 'settings.list'):
  • Admin