mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 09:06:21 +01:00
SeAT Manager (#704)
* SeAT service in modular service app format * Replace string concatenation with formatters * Fix incorrect references to user * Fix exception when user doesn't have seat active * Prevent deletion of seat API keys by default * Improve api response error handling * Corrected notification message * Added missing view returns * Update SeAT to use permissions based access * Update password generator to new style * Correct logging message * Fix seat role update tasks * Correct validate user logic * Add seat test settings * Added basic seat unit tests * Added add permissions function from other branch * Remove obsolete settings references
This commit is contained in:
16
services/modules/seat/urls.py
Normal file
16
services/modules/seat/urls.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from __future__ import unicode_literals
|
||||
from django.conf.urls import url, include
|
||||
|
||||
from . import views
|
||||
|
||||
module_urls = [
|
||||
# SeAT Service Control
|
||||
url(r'^activate/$', views.activate_seat, name='auth_activate_seat'),
|
||||
url(r'^deactivate/$', views.deactivate_seat, name='auth_deactivate_seat'),
|
||||
url(r'^reset_password/$', views.reset_seat_password, name='auth_reset_seat_password'),
|
||||
url(r'^set_password/$', views.set_seat_password, name='auth_set_seat_password'),
|
||||
]
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^seat/', include(module_urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user