So if i set the attribute to ReadOnly = true,
The Create Button is hidden,
The Delete Button is hidden,
however the record can be edited but no Save button exists (user is warned if an edit it made and leaves the page).
So setting ReadOnly seems to remove Create and Delete, but also Update..
How do I configure to have Update available but hide Create and Delete?
"Disable Create and Delete" refers to the action of preventing users from creating or deleting certain items or performing specific actions within a system or application. By disabling these functions, administrators can restrict user permissions and prevent unauthorized modifications or deletions, ensuring better control and security over the system's data and settings.
Disable Create and Delete
Hey Tim - this package is simply AWESOME - nice work...
Just wondering if there's a way to disable just C & D of CRUD ?
I note you can disable all editing but in my case, I am happy for admins to edit...
Am happy to dig into code, but thought I'd ask here first (it's been a long week).
Look forward to hearing from you.
Cheers
Nigel
Comment author was deleted
Hi Nigel, yeah you'll need to dig into the code for that, there's only a readonly setting you can set currently (on the uiomatic attribute) https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Attributes/UIOMaticAttribute.cs
You'll see that in the tree code it checks for this attribute value and then adds the create/delete depending on that https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Trees/UIOMaticTreeController.cs
Thanks Tim - will have a play around with this and see what I can break. :-)
Cheers
Nigel
Hi! If you found out how to do this, can you please share it? Thanks a ton in advance!
So if i set the attribute to ReadOnly = true, The Create Button is hidden, The Delete Button is hidden, however the record can be edited but no Save button exists (user is warned if an edit it made and leaves the page).
So setting ReadOnly seems to remove Create and Delete, but also Update..
How do I configure to have Update available but hide Create and Delete?
"Disable Create and Delete" refers to the action of preventing users from creating or deleting certain items or performing specific actions within a system or application. By disabling these functions, administrators can restrict user permissions and prevent unauthorized modifications or deletions, ensuring better control and security over the system's data and settings.
is working on a reply...