fix merge conflict for edit dialog succeeded and pw not required

This commit is contained in:
Michael Shamoon 2023-01-01 17:55:52 -08:00
parent a08467342c
commit d840308392
2 changed files with 3 additions and 3 deletions

View File

@ -620,7 +620,7 @@ export class SettingsComponent
})
modal.componentInstance.dialogMode = user ? 'edit' : 'create'
modal.componentInstance.object = user
modal.componentInstance.success
modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newUser) => {
@ -676,7 +676,7 @@ export class SettingsComponent
})
modal.componentInstance.dialogMode = group ? 'edit' : 'create'
modal.componentInstance.object = group
modal.componentInstance.success
modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newGroup) => {

View File

@ -18,7 +18,7 @@ class ObfuscatedUserPasswordField(serializers.Field):
class UserSerializer(serializers.ModelSerializer):
password = ObfuscatedUserPasswordField()
password = ObfuscatedUserPasswordField(required=False)
user_permissions = serializers.SlugRelatedField(
many=True,
queryset=Permission.objects.all(),