equal
deleted
inserted
replaced
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: |