feat(user): Add user settings panel

!11 closes #28
This commit is contained in:
2024-05-25 10:44:49 +09:30
parent 900412b317
commit ee7977fe4a
9 changed files with 273 additions and 3 deletions

View File

@ -0,0 +1,50 @@
from django.test import TestCase, Client
import pytest
import unittest
import requests
@pytest.mark.skip(reason="to be written")
def test_user_settings_on_create_of_user_settings_add():
""" On Creation of a user their settings are created """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_on_delete_of_user_settings_removed():
""" On Delete of a user their settings are removed """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_on_delete_organization_default_organization():
""" On Delete of an organization, users default organization set to null """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_on_delete_organization_user_settings_not_deleted():
""" On Delete of an organization, users settings are not deleted """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_only_owner_can_view():
""" Only owner can access their settings url """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_only_owner_can_edit():
""" Only owner and super admin can change user settings """
pass
@pytest.mark.skip(reason="to be written")
def test_user_settings_super_admin_can_edit():
""" Super admin can change user settings """
pass