hougaard / ToolBox-Issues

Support Repository for Erik's ToolBox
1 stars 0 forks source link

Data inspector - modifying fields that have property editable = false #5

Closed GhOnBc closed 1 year ago

GhOnBc commented 1 year ago

Hi,

when we run the data inspector and try to modify a field that has editable = false, we get the error: you do not have access to perform write operations on TABLENAME.

if we then execute some code on that table with the ToolBox, we get the question. A program is requesting permission to modify data in TABLENAME. If we allow this, from then on we are able to also change the field trough the data inspector.

Is it possible to enable modifying these types of field trough the data inspector without having the need to trigger the permissions trough the ToolBox.

kr,

GhOnBc commented 1 year ago

Hi,

friendly reminder

hougaard commented 1 year ago

Can you verify that the user in question has GodMode access level in the ToolBox (user setup)?

hougaard commented 1 year ago

OK, there's a bug (and a way to get around it), I'll fix it for the next version.

If you run any piece of code (message('hello world'); is enough) in the toolbox and then open the object inspector from the toolbox page, then you can edit protected tables.

hougaard commented 1 year ago

Fixed in version 1.0.0.176

GhOnBc commented 1 year ago

Could you provide a release for on-prem? (min BC19.2) : ) thanks

hougaard commented 1 year ago

They're running right now.. The slowest part of the release process...

hougaard commented 1 year ago

Release uploaded!