cubicweb/web/test/unittest_views_editforms.py
changeset 11170 d034791621ad
parent 11151 4259c55df3e7
child 11240 1694e6e9ff94
equal deleted inserted replaced
11169:c1eb5a676c80 11170:d034791621ad
    25 from cubicweb.schema import RRQLExpression
    25 from cubicweb.schema import RRQLExpression
    26 
    26 
    27 
    27 
    28 AFFK = uicfg.autoform_field_kwargs
    28 AFFK = uicfg.autoform_field_kwargs
    29 AFS = uicfg.autoform_section
    29 AFS = uicfg.autoform_section
       
    30 
    30 
    31 
    31 def rbc(entity, formtype, section):
    32 def rbc(entity, formtype, section):
    32     if section in ('attributes', 'metadata', 'hidden'):
    33     if section in ('attributes', 'metadata', 'hidden'):
    33         permission = 'update'
    34         permission = 'update'
    34     else:
    35     else: