1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-10 01:17:59 +03:00

Fixed pools and ad test, also backup server required

This commit is contained in:
Adolfo Gómez García 2024-03-19 16:55:19 +01:00
parent 5c9bf779e3
commit 08618f5dbb
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 2 additions and 3 deletions

View File

@ -499,10 +499,10 @@ class ServicesPools(ModelHandler):
serviceType = service.get_type()
if serviceType.publication_type is None:
fields['publish_on_save'] = False
self._params['publish_on_save'] = False
if serviceType.can_reset is False:
fields['allow_users_reset'] = False
self._params['allow_users_reset'] = False
if serviceType.needs_osmanager is True:
osmanager = OSManager.objects.get(uuid=process_uuid(fields['osmanager_id']))

View File

@ -47,7 +47,6 @@ if typing.TYPE_CHECKING:
logger = logging.getLogger(__name__)
class FixedUserService(services.UserService, autoserializable.AutoSerializable, abc.ABC):
"""
This class represents a fixed user service, that is, a service that is assigned to an user