Mathias Markl
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
muk_security/models/res_users.py
|
@ -49,6 +49,12 @@ class AccessUser(models.Model): |
|
|
# Functions |
|
|
# Functions |
|
|
#---------------------------------------------------------- |
|
|
#---------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
def browse(self, arg=None, *args, **kwargs): |
|
|
|
|
|
if isinstance(arg, NoSecurityUid): |
|
|
|
|
|
arg = super(NoSecurityUid, id).__int__() |
|
|
|
|
|
return super(AccessUser, self).browse(arg=arg, **kwargs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def _browse(cls, ids, *args, **kwargs): |
|
|
def _browse(cls, ids, *args, **kwargs): |
|
|
def convert_security_uid(id): |
|
|
def convert_security_uid(id): |
|
|