mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-27 02:43:01 +00:00
Merge remote-tracking branch 'origin/rights' into rights
This commit is contained in:
commit
7e29f1d482
@ -121,7 +121,7 @@ class Permission(models.Model):
|
|||||||
def _about(_self, _query, **kwargs):
|
def _about(_self, _query, **kwargs):
|
||||||
self = _self
|
self = _self
|
||||||
query = _query
|
query = _query
|
||||||
if self.type == 'add'):
|
if self.type == 'add':
|
||||||
# Handle add permission differently
|
# Handle add permission differently
|
||||||
return self._about_add(query, **kwargs)
|
return self._about_add(query, **kwargs)
|
||||||
if len(query) == 0:
|
if len(query) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user