Add perms checks

This commit is contained in:
zandercymatics 2024-05-09 12:45:21 -06:00
parent 2f36033eb2
commit 84408fce48
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 34 additions and 5 deletions

View file

@ -100,6 +100,13 @@ urlpatterns = [
name="analytics",
),
path("admin/", admin.site.urls),
path(
# We embed the current user ID here, but we have a permission check
# that ensures the user is who they say they are.
"finish-user-setup/<int:pk>",
views.FinishContactProfileSetupView.as_view(),
name="finish-contact-profile-setup",
),
path(
"domain-request/<id>/edit/",
views.DomainRequestWizard.as_view(),