Revised to allow the viewers to view the account order page.
This commit is contained in:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user