feat(setting): Enable super admin to set ALL software as global

sets is_global=true and creates software in global organization

!11 closes #27
This commit is contained in:
2024-05-25 14:12:31 +09:30
parent ee7977fe4a
commit f36400dbb9
14 changed files with 282 additions and 8 deletions

View File

@ -0,0 +1,28 @@
from django.test import TestCase, Client
import pytest
import unittest
import requests
@pytest.mark.skip(reason="to be written")
def test_app_settings_only_super_admin_can_access():
""" Only super admin can access app settings """
pass
@pytest.mark.skip(reason="to be written")
def test_app_settings_software_is_global_organization_must_be_set():
""" If field software_is_global=true an organization must be set """
pass
@pytest.mark.skip(reason="to be written")
def test_app_settings_software_is_global_create_software():
""" If field software_is_global=true on software creation regardless of user settings
software is created in global organization with global=true
"""
pass