Revised to allow the viewers to view the account order page.

This commit is contained in:
2023-02-03 12:29:37 +08:00
parent 784e7bde49
commit b5d87d2387
3 changed files with 14 additions and 10 deletions

View File

@ -169,7 +169,7 @@ def delete_account(account: Account) -> redirect:
@bp.get("/bases/<baseAccount:base>", endpoint="order")
@has_permission(can_edit)
@has_permission(can_view)
def show_account_order(base: BaseAccount) -> str:
"""Shows the order of the accounts under a same base account.