mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-09 11:19:08 +00:00
[Bugfix] 修改PermsModel抽象后的objects-bug (#2713)
* [Bugfix] 修改PermsModel抽象后的objects-bug * [Bugfix] 删除无用代码
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from orgs.mixins import OrgModelMixin
|
||||
|
||||
from .base import BasePermission
|
||||
|
||||
__all__ = [
|
||||
@@ -13,7 +11,7 @@ __all__ = [
|
||||
]
|
||||
|
||||
|
||||
class RemoteAppPermission(OrgModelMixin, BasePermission):
|
||||
class RemoteAppPermission(BasePermission):
|
||||
remote_apps = models.ManyToManyField('applications.RemoteApp', related_name='granted_by_permissions', blank=True, verbose_name=_("RemoteApp"))
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user