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:
parent
5c9bf779e3
commit
08618f5dbb
@ -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']))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user