maquinaweb-shared-auth 0.2.16__tar.gz → 0.2.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of maquinaweb-shared-auth might be problematic. Click here for more details.
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/PKG-INFO +1 -1
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/maquinaweb_shared_auth.egg-info/PKG-INFO +1 -1
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/pyproject.toml +1 -1
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/urls.py +2 -2
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/views.py +0 -1
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/README.md +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/maquinaweb_shared_auth.egg-info/SOURCES.txt +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/maquinaweb_shared_auth.egg-info/dependency_links.txt +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/maquinaweb_shared_auth.egg-info/requires.txt +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/maquinaweb_shared_auth.egg-info/top_level.txt +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/setup.cfg +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/setup.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/__init__.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/app.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/authentication.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/conf.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/decorators.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/exceptions.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/fields.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/managers.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/middleware.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/mixins.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/models.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/permissions.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/router.py +0 -0
- {maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/serializers.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "maquinaweb-shared-auth"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.18"
|
|
8
8
|
description = "Models read-only para autenticação compartilhada entre projetos Django."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.13"
|
|
@@ -2,7 +2,7 @@ from rest_framework.routers import DefaultRouter
|
|
|
2
2
|
from .views import OrganizationViewSet, UserViewSet
|
|
3
3
|
|
|
4
4
|
router = DefaultRouter()
|
|
5
|
-
router.register(r'
|
|
6
|
-
router.register(r'
|
|
5
|
+
router.register(r'organizations', OrganizationViewSet, basename='organization')
|
|
6
|
+
router.register(r'user', UserViewSet, basename='user')
|
|
7
7
|
|
|
8
8
|
urlpatterns = router.urls
|
|
@@ -3,7 +3,6 @@ from rest_framework.decorators import action
|
|
|
3
3
|
from rest_framework.response import Response
|
|
4
4
|
from rest_framework.permissions import IsAuthenticated
|
|
5
5
|
from .middleware import get_member
|
|
6
|
-
from .models import SharedOrganization, SharedMember
|
|
7
6
|
from .serializers import OrganizationSerializer, UserSerializer
|
|
8
7
|
|
|
9
8
|
class OrganizationViewSet(viewsets.ReadOnlyModelViewSet):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maquinaweb_shared_auth-0.2.16 → maquinaweb_shared_auth-0.2.18}/shared_auth/authentication.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|