From b1f5bad2ddaebe2dd9943333d7efd131f63896e9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 Aug 2016 16:57:14 +0200 Subject: Account management: fix edit - can delete an account (refs #2977) --- ishtar_common/urls.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ishtar_common/urls.py') diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index a3bcaffb5..30b5741d9 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2015 Étienne Loks +# Copyright (C) 2010-2016 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -81,9 +81,15 @@ urlpatterns = patterns( check_rights(['change_organization', 'change_own_organization'])( views.OrganizationPersonEdit.as_view()), name='organization_person_edit'), + url(r'get-ishtaruser/(?P.+)?$', + views.get_ishtaruser, + name='get-ishtaruser'), url(r'account_management/(?P.+)?$', check_rights(['add_ishtaruser'])( views.account_management_wizard), name='account_management'), + url(r'account_deletion/(?P.+)?$', + check_rights(['add_ishtaruser'])( + views.account_deletion_wizard), name='account_deletion'), url(r'^import-new/$', check_rights(['change_import'])( views.NewImportView.as_view()), name='new_import'), -- cgit v1.2.3