mirror of https://github.com/jumpserver/jumpserver
18 lines
428 B
Python
18 lines
428 B
Python
|
from django.urls import path
|
||
|
from rest_framework_bulk.routes import BulkRouter
|
||
|
from .. import api
|
||
|
|
||
|
|
||
|
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')
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('login-asset/check/', api.LoginAssetCheckAPI.as_view(), name='login-asset-check'),
|
||
|
]
|
||
|
|
||
|
urlpatterns += router.urls
|