1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 10:51:17 +00:00

add can_multi_saml_sso role (#7981)

* add can_multi_saml_sso role

* update test

* update
This commit is contained in:
lian
2025-06-26 17:58:12 +08:00
committed by GitHub
parent 0aec56f8ab
commit c33fcfed77
5 changed files with 24 additions and 6 deletions

View File

@@ -11,4 +11,4 @@ class UtilsTest(BaseTestCase):
assert DEFAULT_USER in get_available_roles()
def test_get_enabled_role_permissions_by_role(self):
assert len(list(get_enabled_role_permissions_by_role(DEFAULT_USER).keys())) == 25
assert len(list(get_enabled_role_permissions_by_role(DEFAULT_USER).keys())) == 26