[Fix] Permlevel 1 with read permission fields are not disaplying in the form (#6160)
This commit is contained in:
parent
8fe95f2876
commit
1c8db8fee3
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ class Document(BaseDocument):
|
|||
if not df:
|
||||
df = self.meta.get_field(fieldname)
|
||||
|
||||
return df.permlevel in self.get_permlevel_access()
|
||||
return df.permlevel in self.get_permlevel_access(permission_type)
|
||||
|
||||
def get_permissions(self):
|
||||
if self.meta.istable:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue