maquinaweb-shared-auth 0.2.8__tar.gz → 0.2.10__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.8 → maquinaweb_shared_auth-0.2.10}/PKG-INFO +1 -1
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/maquinaweb_shared_auth.egg-info/PKG-INFO +1 -1
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/pyproject.toml +1 -1
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/models.py +0 -71
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/README.md +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/maquinaweb_shared_auth.egg-info/SOURCES.txt +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/maquinaweb_shared_auth.egg-info/dependency_links.txt +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/maquinaweb_shared_auth.egg-info/requires.txt +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/maquinaweb_shared_auth.egg-info/top_level.txt +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/setup.cfg +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/setup.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/__init__.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/app.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/authentication.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/conf.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/decorators.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/exceptions.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/fields.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/managers.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/middleware.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/mixins.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/permissions.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/shared_auth/router.py +0 -0
- {maquinaweb_shared_auth-0.2.8 → maquinaweb_shared_auth-0.2.10}/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.10"
|
|
8
8
|
description = "Models read-only para autenticação compartilhada entre projetos Django."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.13"
|
|
@@ -143,26 +143,6 @@ class SharedUser(AbstractUser):
|
|
|
143
143
|
updatedat = models.DateTimeField()
|
|
144
144
|
deleted_at = models.DateTimeField(null=True, blank=True)
|
|
145
145
|
|
|
146
|
-
groups = models.ManyToManyField(
|
|
147
|
-
"SharedGroup",
|
|
148
|
-
verbose_name="groups",
|
|
149
|
-
blank=True,
|
|
150
|
-
help_text=(
|
|
151
|
-
"The groups this user belongs to. A user will get all permissions "
|
|
152
|
-
"granted to each of their groups."
|
|
153
|
-
),
|
|
154
|
-
related_name="user_set",
|
|
155
|
-
related_query_name="user",
|
|
156
|
-
)
|
|
157
|
-
user_permissions = models.ManyToManyField(
|
|
158
|
-
"SharedPermission",
|
|
159
|
-
verbose_name="user permissions",
|
|
160
|
-
blank=True,
|
|
161
|
-
help_text="Specific permissions for this user.",
|
|
162
|
-
related_name="user_set",
|
|
163
|
-
related_query_name="user",
|
|
164
|
-
)
|
|
165
|
-
|
|
166
146
|
objects = SharedUserManager()
|
|
167
147
|
|
|
168
148
|
class Meta:
|
|
@@ -170,57 +150,6 @@ class SharedUser(AbstractUser):
|
|
|
170
150
|
db_table = USER_TABLE
|
|
171
151
|
|
|
172
152
|
|
|
173
|
-
class DjangoContentType(models.Model):
|
|
174
|
-
app_label = models.CharField(max_length=100)
|
|
175
|
-
model = models.CharField(max_length=100)
|
|
176
|
-
|
|
177
|
-
class Meta:
|
|
178
|
-
managed = False
|
|
179
|
-
db_table = "django_content_type"
|
|
180
|
-
unique_together = (("app_label", "model"),)
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
class SharedGroup(models.Model):
|
|
184
|
-
name = models.CharField(unique=True, max_length=150)
|
|
185
|
-
|
|
186
|
-
class Meta:
|
|
187
|
-
managed = False
|
|
188
|
-
db_table = "auth_group"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
class SharedPermission(models.Model):
|
|
192
|
-
name = models.CharField(max_length=255)
|
|
193
|
-
content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING)
|
|
194
|
-
codename = models.CharField(max_length=100)
|
|
195
|
-
|
|
196
|
-
class Meta:
|
|
197
|
-
managed = False
|
|
198
|
-
db_table = "auth_permission"
|
|
199
|
-
unique_together = (("content_type", "codename"),)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
class SharedUserPermissions(models.Model):
|
|
203
|
-
id = models.BigAutoField(primary_key=True)
|
|
204
|
-
user = models.ForeignKey(SharedUser, models.DO_NOTHING)
|
|
205
|
-
permission = models.ForeignKey(SharedPermission, models.DO_NOTHING)
|
|
206
|
-
|
|
207
|
-
class Meta:
|
|
208
|
-
managed = False
|
|
209
|
-
db_table = "auth_user_user_permissions"
|
|
210
|
-
unique_together = (("user", "permission"),)
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
class SharedUserGroups(models.Model):
|
|
214
|
-
id = models.BigAutoField(primary_key=True)
|
|
215
|
-
user = models.ForeignKey(SharedUser, models.DO_NOTHING)
|
|
216
|
-
group = models.ForeignKey(SharedGroup, models.DO_NOTHING)
|
|
217
|
-
|
|
218
|
-
class Meta:
|
|
219
|
-
managed = False
|
|
220
|
-
db_table = "auth_user_groups"
|
|
221
|
-
unique_together = (("user", "group"),)
|
|
222
|
-
|
|
223
|
-
|
|
224
153
|
class SharedMember(models.Model):
|
|
225
154
|
"""
|
|
226
155
|
Model READ-ONLY da tabela organization_member
|
|
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.8 → maquinaweb_shared_auth-0.2.10}/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
|