Browser: Chrome 152
OS: macOS
Hi guys! Hope you’re all doing well. A small one from me this time, nothing urgent.
A short follow-up to Convert-html-css-to-bricks-data gives a misleading permission error when postId is omitted, marked solved in 2.4 with “the conversion guidance now makes the editable postId requirement explicit for non-administrators”. I re-tested on 2.4.3 and from a caller’s side nothing has changed, so I may be looking in the wrong place for that guidance.
Environment: Bricks 2.4.3, WordPress 7.1.3, through the Abilities API, as a non-administrator account holding bricks_full_access.
bricks/convert-html-css-to-bricks-data
{ "html": "<section><h2>t</h2></section>", "css": "" }
-> ability_invalid_permissions
(the generic, localized "does not have necessary permission")
With "postId": <any page the user can edit> the same call succeeds. The ability’s input schema still has an empty required list.
An agent working from the schema and the error alone still can’t tell that postId is the missing piece. Either of two small changes would close it: list postId as required (or describe it as required for non-administrators in the schema), or mention postId in the permission error.