ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

Disable „edit object“ for all objects except alias.0 and 0_userdata.0 (without expert mode)

Open klein0r opened this issue 3 years ago • 3 comments

At the moment a user can edit every property (and the raw definition) of an object. Many users suggest in the forum or on facebook to edit adapter properties (like common.type) or change common.read / common.write.

My suggestion is, that all options should be hidden when expert mode is disabled (except name). They should be available for objects in namespace alias.0 and 0_userdata.0 (where the user can create own objects).

klein0r avatar Jun 26 '22 19:06 klein0r

Userr can also create own onjects in javascript.X and maybe mqtt.X ? (there are some namespaces)

Apollon77 avatar Jun 27 '22 08:06 Apollon77

But I would propose to SHOW the vlaues in non-Expertmode but grey them out (I assume you mean the same)

Apollon77 avatar Jun 27 '22 08:06 Apollon77

Userr can also create own onjects in javascript.X and maybe mqtt.X ? (there are some namespaces)

Yes, by using Scripts or by sending MQTT messages (and not via the admin UI). The same logic already exists for the creation of new objects when expert mode is disabled.

grey them out (I assume you mean the same)

Of course - the user must be able to see the current definition

klein0r avatar Jun 27 '22 08:06 klein0r