fix: 修改 ACL 排序 priority, date_updated, name

This commit is contained in:
Bai
2023-02-02 14:53:18 +08:00
committed by Jiangjie.Bai
parent 6429b56a54
commit 88edc9191c
2 changed files with 4 additions and 4 deletions

View File

@@ -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):