fix: 修改content type 权限 (#12890)

Co-authored-by: feng <1304903146@qq.com>
pull/12893/head
fit2bot 8 months ago committed by GitHub
parent 47ceaf967c
commit bf1a29fac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -19,8 +19,7 @@ class ContentTypeViewSet(JMSModelViewSet):
serializer_class = ContentTypeSerializer
http_method_names = ['get', 'head', 'options']
rbac_perms = {
'default': 'labels.view_contenttype',
'resources': 'labels.view_contenttype',
'resources': 'rbac.view_contenttype',
}
page_default_limit = None
can_labeled_content_type = []

Loading…
Cancel
Save