Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Dec 07, 2018 @ 16:03
    Ali Sheikh Taheri
    0

    Disable Create and Delete

    Hi

    Is there any way to disable Create and Delete action and just to allow update?

    Also is there any way to change the default view (basically filter the result based on a column value? for example all active members.

    Thanks

    Ali

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 08, 2018 @ 18:41
    Tim Geyssens
    1

    Filter yes, you can hook into the event model and update the query, there are some exampkes on the forum here,

    Only update I don't think so, read only yes but it's read only or crud

  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Dec 10, 2018 @ 09:13
    Ali Sheikh Taheri
    0

    Thanks Tim.

    I know this might be a very rare case, but in this case, I only need to allow users to update an existing record without letting them to delete or create a new record.

    Do you have any suggestion or can you think of any approach that I can implement to add that functionality?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 10, 2018 @ 09:26
    Tim Geyssens
    100

    You can always fork and tweak or you could do some backoffice tweaking and just hide the options with some js/css logic...

  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Dec 10, 2018 @ 15:06
    Ali Sheikh Taheri
    0

    Hi Tim,

    Thanks, I ended up just removing the delete and create button from the UI. that should do the trick for now.

    Cheers

    Ali

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies