Home
last modified time | relevance | path

Searched refs:add_global_permission (Results 1 – 5 of 5) sorted by relevance

/dports/www/py-django-cms/django-cms-3.7.1/cms/tests/
H A Dtest_page_user_group_admin.py47 self.add_global_permission(staff_user, can_change_permissions=True)
69 self.add_global_permission(staff_user, can_change_permissions=False)
88 self.add_global_permission(staff_user, can_change_permissions=True)
101 self.add_global_permission(staff_user, can_change_permissions=False)
116 self.add_global_permission(staff_user, can_change_permissions=True)
130 self.add_global_permission(staff_user, can_change_permissions=False)
146 self.add_global_permission(staff_user, can_change_permissions=True)
161 self.add_global_permission(staff_user, can_change_permissions=False)
H A Dtest_page_user_admin.py53 self.add_global_permission(staff_user, can_change_permissions=True)
75 self.add_global_permission(staff_user, can_change_permissions=False)
95 self.add_global_permission(staff_user, can_change_permissions=True)
109 self.add_global_permission(staff_user, can_change_permissions=False)
127 self.add_global_permission(staff_user, can_change_permissions=True)
152 self.add_global_permission(staff_user, can_change_permissions=False)
175 self.add_global_permission(staff_user, can_change_permissions=True)
190 self.add_global_permission(staff_user, can_change_permissions=False)
H A Dtest_page_admin.py2106 self.add_global_permission(
2548 self.add_global_permission(
2582 self.add_global_permission(
2622 self.add_global_permission(
2669 self.add_global_permission(
2709 self.add_global_permission(
2746 self.add_global_permission(
2778 self.add_global_permission(
2812 self.add_global_permission(
2851 self.add_global_permission(
[all …]
H A Dtest_toolbar.py373 global_permission = self.add_global_permission(staff_user, can_change=True, can_delete=True)
/dports/www/py-django-cms/django-cms-3.7.1/cms/test_utils/
H A Dtestcases.py137 def add_global_permission(self, user, **kwargs): member in BaseCMSTestCase