mirror of https://github.com/jumpserver/jumpserver
parent
43215d27c5
commit
a1e9382275
@ -0,0 +1,15 @@
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from rest_framework import serializers
|
||||
|
||||
__all__ = [
|
||||
'ToolSerializer'
|
||||
]
|
||||
|
||||
|
||||
class ToolSerializer(serializers.Serializer):
|
||||
PREFIX_TITLE = _('Tool')
|
||||
|
||||
TOOL_USER_ENABLED = serializers.BooleanField(
|
||||
label=_('User tool'), default=True,
|
||||
help_text=_("If enabled, users can utilize all tools in the workspace")
|
||||
)
|
Loading…
Reference in new issue