jstanden / cerb

Cerb is a fully customizable, web-based platform for enterprise communication and process automation. Create high volume shared inboxes. Integrate with any API-based service and automate nearly any repetitive digital workflow using the specialized KATA language and browser-based coding tools. Production: https://github.com/cerb/cerb-release/
https://cerb.ai/
Other
80 stars 38 forks source link

show columns if user has premissions #1747

Closed nicholsk18 closed 7 months ago

nicholsk18 commented 8 months ago

Talking with Dan about this, and im not 100% of what premission this should have, but when non user creates widget it wont load the columns and shows error, but still allows you to create the widget, since this just rejects the columns loading

jstanden commented 7 months ago

@nicholsk18 Thanks for the report! I can reproduce the issue.

Only admins can create profile tabs + widgets. But anyone can create tabs + widgets on workspaces they are an editor of (owner, group manager, by role, etc).

The issue here is that 'worklist' workspace widgets try to request record column data from the profile tab endpoint. Permissions properly block that.

We just need to move this functionality to the workspace widget itself.

I'll fix this and credit you with the report.

nicholsk18 commented 7 months ago

Ah, that makes sense. As always, thank you for the in-depth explanation!

jstanden commented 7 months ago

Sure! Fixed in 10.4.4 and credited you for the bug report. Thanks again. :)