2021-03-11 12:17:44 +00:00
|
|
|
from django.urls import path
|
|
|
|
from rest_framework_bulk.routes import BulkRouter
|
|
|
|
|
2022-12-02 03:53:07 +00:00
|
|
|
from .. import api
|
2021-03-11 12:17:44 +00:00
|
|
|
|
|
|
|
app_name = 'acls'
|
|
|
|
|
|
|
|
router = BulkRouter()
|
|
|
|
router.register(r'login-acls', api.LoginACLViewSet, 'login-acl')
|
|
|
|
router.register(r'login-asset-acls', api.LoginAssetACLViewSet, 'login-asset-acl')
|
2022-12-02 03:53:07 +00:00
|
|
|
router.register(r'command-filter-acls', api.CommandFilterACLViewSet, 'command-filter-acl')
|
2022-12-06 10:26:07 +00:00
|
|
|
router.register(r'command-groups', api.CommandGroupViewSet, 'command-group')
|
2023-06-07 09:39:56 +00:00
|
|
|
router.register(r'connect-method-acls', api.ConnectMethodACLViewSet, 'connect-method-acl')
|
2021-03-11 12:17:44 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('login-asset/check/', api.LoginAssetCheckAPI.as_view(), name='login-asset-check'),
|
|
|
|
]
|
|
|
|
|
|
|
|
urlpatterns += router.urls
|