mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
497 B
18 lines
497 B
3 years ago
|
from django.db import models
|
||
|
from django.utils.translation import ugettext_lazy as _
|
||
|
|
||
|
from common.mixins.models import CommonModelMixin
|
||
|
from .session import Session
|
||
|
|
||
|
|
||
|
class SessionReplay(CommonModelMixin):
|
||
|
session = models.ForeignKey(Session, on_delete=models.CASCADE, verbose_name=_("Session"))
|
||
|
|
||
|
class Meta:
|
||
|
permissions = [
|
||
|
('upload_sessionreplay', _("Can upload session replay")),
|
||
|
('download_sessionreplay', _("Can download session replay")),
|
||
|
]
|
||
|
|
||
|
|