pref: 修改 accounts list url

pull/9075/head
ibuler 2 years ago
parent 989c338002
commit 9d0e2b2872

@ -69,11 +69,8 @@ user_permission_urlpatterns = [
name='my-ungrouped-assets'),
# 获取授权给用户某个资产的所有账号
path('<uuid:pk>/assets/<uuid:asset_id>/accounts/', api.UserGrantedAssetAccountsApi.as_view(),
path('<str:user>/assets/<uuid:asset_id>/accounts/', api.UserGrantedAssetAccountsApi.as_view(),
name='user-asset-accounts'),
path('/((?P<user>[^/.]+)/)?assets/<uuid:asset_id>/accounts/',
api.UserGrantedAssetAccountsApi.as_view(),
name='my-asset-accounts'),
]
user_group_permission_urlpatterns = [

Loading…
Cancel
Save