maquinaweb-shared-auth 0.2.7__py3-none-any.whl → 0.2.9__py3-none-any.whl
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.7.dist-info → maquinaweb_shared_auth-0.2.9.dist-info}/METADATA +1 -1
- {maquinaweb_shared_auth-0.2.7.dist-info → maquinaweb_shared_auth-0.2.9.dist-info}/RECORD +5 -5
- shared_auth/models.py +8 -14
- {maquinaweb_shared_auth-0.2.7.dist-info → maquinaweb_shared_auth-0.2.9.dist-info}/WHEEL +0 -0
- {maquinaweb_shared_auth-0.2.7.dist-info → maquinaweb_shared_auth-0.2.9.dist-info}/top_level.txt +0 -0
|
@@ -8,11 +8,11 @@ shared_auth/fields.py,sha256=RAcmFh1D_nkbai_7t_OrPZhfhAipesy5kKnEj4LUvvM,1254
|
|
|
8
8
|
shared_auth/managers.py,sha256=Oskz863DGG7nFp6ijZfYVWGCG-Inp6PAP0NakX-x71g,6812
|
|
9
9
|
shared_auth/middleware.py,sha256=xVoSnlndp6-_cgQADASk2ie8th8e_7SN_7q-lfArx9Y,6124
|
|
10
10
|
shared_auth/mixins.py,sha256=-D-mDmDI_EjMGpUpkMEp1XTlecvUlCRj-Bch9dm9s_I,7400
|
|
11
|
-
shared_auth/models.py,sha256=
|
|
11
|
+
shared_auth/models.py,sha256=FaUp5ecwGZ8H3Fnf9Fq5wjBWTFDJBq04cnKwupIVIKU,7042
|
|
12
12
|
shared_auth/permissions.py,sha256=CTsd0xE_Z-LYNVwU4jOJLWvlcbdRG8mLkLMEnbmkhJA,2665
|
|
13
13
|
shared_auth/router.py,sha256=zYidJ7j40lQLrhkCtAQAp-rQLhua_UF0X7SDzYRcV5w,668
|
|
14
14
|
shared_auth/serializers.py,sha256=TDpuZVsOL-6igINSOOOyELWbTUeet4XWRoBkvcMGjW4,4290
|
|
15
|
-
maquinaweb_shared_auth-0.2.
|
|
16
|
-
maquinaweb_shared_auth-0.2.
|
|
17
|
-
maquinaweb_shared_auth-0.2.
|
|
18
|
-
maquinaweb_shared_auth-0.2.
|
|
15
|
+
maquinaweb_shared_auth-0.2.9.dist-info/METADATA,sha256=ntGslMWXnQc3UCtu5irrRLXfZZ5mAoGzFSy_EKUnBh4,27150
|
|
16
|
+
maquinaweb_shared_auth-0.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
maquinaweb_shared_auth-0.2.9.dist-info/top_level.txt,sha256=msyYRy02ZV7zz7GR1raUI5LXGFIFn2TIkgkeKZqKufE,12
|
|
18
|
+
maquinaweb_shared_auth-0.2.9.dist-info/RECORD,,
|
shared_auth/models.py
CHANGED
|
@@ -180,14 +180,6 @@ class DjangoContentType(models.Model):
|
|
|
180
180
|
unique_together = (("app_label", "model"),)
|
|
181
181
|
|
|
182
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
183
|
class SharedPermission(models.Model):
|
|
192
184
|
name = models.CharField(max_length=255)
|
|
193
185
|
content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING)
|
|
@@ -210,15 +202,17 @@ class SharedUserPermissions(models.Model):
|
|
|
210
202
|
unique_together = (("user", "permission"),)
|
|
211
203
|
|
|
212
204
|
|
|
213
|
-
class
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
205
|
+
class SharedGroup(models.Model):
|
|
206
|
+
name = models.CharField(unique=True, max_length=150)
|
|
207
|
+
permissions = models.ManyToManyField(
|
|
208
|
+
SharedPermission,
|
|
209
|
+
verbose_name="permissions",
|
|
210
|
+
blank=True,
|
|
211
|
+
)
|
|
217
212
|
|
|
218
213
|
class Meta:
|
|
219
214
|
managed = False
|
|
220
|
-
db_table = "
|
|
221
|
-
unique_together = (("user", "group"),)
|
|
215
|
+
db_table = "auth_group"
|
|
222
216
|
|
|
223
217
|
|
|
224
218
|
class SharedMember(models.Model):
|
|
File without changes
|
{maquinaweb_shared_auth-0.2.7.dist-info → maquinaweb_shared_auth-0.2.9.dist-info}/top_level.txt
RENAMED
|
File without changes
|