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.
24 lines
1007 B
24 lines
1007 B
# coding:utf-8
|
|
|
|
from django.conf.urls import url
|
|
from .. import views
|
|
|
|
app_name = 'perms'
|
|
|
|
urlpatterns = [
|
|
url(r'^asset-permission$', views.AssetPermissionListView.as_view(), name='asset-permission-list'),
|
|
url(r'^asset-permission/create$', views.AssetPermissionCreateView.as_view(), name='asset-permission-create'),
|
|
url(r'^asset-permission/(?P<pk>[0-9]+)/update$', views.AssetPermissionUpdateView.as_view(),
|
|
name='asset-permission-update'),
|
|
url(r'^asset-permission/(?P<pk>[0-9]+)$', views.AssetPermissionDetailView.as_view(),
|
|
name='asset-permission-detail'),
|
|
url(r'^asset-permission/(?P<pk>[0-9]+)/delete$', views.AssetPermissionDeleteView.as_view(),
|
|
name='asset-permission-delete'),
|
|
url(r'^asset-permission/(?P<pk>[0-9]+)/user$', views.AssetPermissionUserView.as_view(),
|
|
name='asset-permission-user-list'),
|
|
url(r'^asset-permission/(?P<pk>[0-9]+)/asset$', views.AssetPermissionAssetView.as_view(),
|
|
name='asset-permission-asset-list'),
|
|
]
|
|
|
|
|