{"sections": [{"sectionKey": "FS_PAYMENTINVOICE", "permissions": {"create": [{"roles": ["ROLE_VIEWER"], "condition": {"operator": "AND", "conditions": [{"field": "requiresPayment", "operator": "EQUALS", "value": true}, {"field": "approvalStatus", "operator": "EQUALS", "value": "approved"}, {"field": "isFreeSeat", "operator": "EQUALS", "value": false}, {"operator": "OR", "conditions": [{"field": "paymentStatus", "operator": "IN", "value": ["online_pending", "failed"]}, {"field": "paymentStatus", "operator": "IS_NULL"}, {"operator": "AND", "conditions": [{"field": "paymentStatus", "operator": "EQUALS", "value": "offline_pending"}, {"field": "editRequestStatus", "operator": "EQUALS", "value": "requested"}]}]}]}}, {"roles": ["ROLE_FINANCE_MANAGER", "ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [{"field": "approvalStatus", "operator": "EQUALS", "value": "approved"}, {"field": "isFreeSeat", "operator": "EQUALS", "value": false}]}}], "read": [{"roles": ["ALL"], "condition": null}], "update": [{"roles": ["ROLE_VIEWER"], "condition": {"operator": "AND", "conditions": [{"field": "requiresPayment", "operator": "EQUALS", "value": true}, {"field": "approvalStatus", "operator": "EQUALS", "value": "approved"}, {"field": "isFreeSeat", "operator": "EQUALS", "value": false}, {"operator": "OR", "conditions": [{"field": "paymentStatus", "operator": "IN", "value": ["online_pending", "failed"]}, {"field": "paymentStatus", "operator": "IS_NULL"}, {"operator": "AND", "conditions": [{"field": "paymentStatus", "operator": "EQUALS", "value": "offline_pending"}, {"field": "editRequestStatus", "operator": "EQUALS", "value": "requested"}]}]}]}}, {"roles": ["ROLE_FINANCE_MANAGER", "ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [{"field": "approvalStatus", "operator": "EQUALS", "value": "approved"}, {"field": "isFreeSeat", "operator": "EQUALS", "value": false}]}}], "delete": [{"roles": [], "condition": null}]}}]}