mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
914 B
21 lines
914 B
# coding:utf-8
|
|
|
|
from django.conf.urls import url
|
|
import views
|
|
|
|
app_name = 'perms'
|
|
|
|
urlpatterns = [
|
|
# Resource asset url
|
|
url(r'^user$', views.PermUserListView.as_view(), name='perm-user-list'),
|
|
url(r'^user/(?P<pk>[0-9]+)/perm-asset/$', views.PermUserAssetListView.as_view(), name='perm-user-asset-list'),
|
|
url(r'^user/(?P<pk>[0-9]+)/perm-asset/create$', views.PermUserAssetCreateView.as_view(),
|
|
name='perm-user-asset-create'),
|
|
# url(r'^user/(?P<user>[0-9]+)$', views.AssetListView.as_view(), name='asset-list'),
|
|
# url(r'^asset/create$', views.AssetCreateView.as_view(), name='asset-create'),
|
|
# url(r'^asset/(?P<pk>[0-9]+)$', views.AssetDetailView.as_view(), name='asset-detail'),
|
|
# url(r'^asset/(?P<pk>[0-9]+)/update', views.AssetUpdateView.as_view(), name='asset-update'),
|
|
# url(r'^asset/(?P<pk>[0-9]+)/delete$', views.AssetDeleteView.as_view(), name='asset-delete'),
|
|
]
|
|
|