mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-08 18:59:47 +00:00
fix: 修改 ACL 排序 priority, date_updated, name
This commit is contained in:
@@ -82,7 +82,7 @@ class BaseACL(JMSBaseModel):
|
||||
objects = ACLManager.from_queryset(BaseACLQuerySet)()
|
||||
|
||||
class Meta:
|
||||
ordering = ('priority', 'name')
|
||||
ordering = ('priority', 'date_updated', 'name')
|
||||
abstract = True
|
||||
|
||||
def is_action(self, action):
|
||||
|
Reference in New Issue
Block a user