Fix some comments from permissions rework

Whoops, forgot to squash this in before pushing.
This commit is contained in:
Deimos
2020-03-02 15:42:34 -07:00
parent 94b9e1bf10
commit 13d7e97e4c
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
"""Rename column for restricted-posting groups
"""Rename column for restricted-posting groups and wiki permission
Revision ID: 84dc19f6e876
Revises: 054aaef690cd

View File

@@ -155,7 +155,7 @@ def test_banned_user_no_message_permission():
def test_ban_permission_manually_granted():
"""Ensure it requires manually granting ban permissions."""
"""Ensure ban permissions must be granted manually."""
user = User("Test_User", "password")
principals = principals_allowed_by_permission(user, "ban")

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2018 Tildes contributors <code@tildes.net>
# Copyright (c) 2020 Tildes contributors <code@tildes.net>
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Custom type aliases to use in type annotations."""