Fixed the documentation of the can_view and can_edit functions in the "accounting.utils.permission" module.

This commit is contained in:
依瑪貓 2023-03-22 04:50:12 +08:00
parent 7aaeb32a3d
commit 855356084e

View File

@ -66,7 +66,7 @@ data."""
def can_view() -> bool:
"""Returns whether the current user can view the account data.
"""Returns whether the current user can view the accounting data.
:return: True if the current user can view the accounting data, or False
otherwise.
@ -75,7 +75,7 @@ def can_view() -> bool:
def can_edit() -> bool:
"""Returns whether the current user can edit the account data.
"""Returns whether the current user can edit the accounting data.
The user has to log in.