Copied to clipboard

Flag this post as spam?

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


  • Niels Hartvig 1942 posts 2366 karma points admin hq c-trib
    May 03, 2018 @ 11:46
    Niels Hartvig
    1

    Readonly mode for Fluidity

    I wondered if it's possible to use Fluidity for readonly (ie. no create, update or delete actions) data access. So that an editor could browse some data, but not be able to update it at all.

    I've been reading the (awesome!) documentation for Fluidity but couldn't find any information. I know it's probably a weird usecase, but I just wondered if I overlooked something.

    Best,

    Niels...

  • Jamie Pollock 172 posts 836 karma points c-trib
    May 28, 2018 @ 22:20
    Jamie Pollock
    0

    Hey Niels,
    I'm not sure if you already found this out. Actually you can do this! When configuring a collectionConfig there is a .MakeReadOnly(); function which disabled CRUD actions. Further documentation.

    I've just tested this with the latest version of the package and it works like a charm.

    All the best, sir!

    Thanks,
    Jamie

  • Paul Seal from codeshare.co.uk 356 posts 1872 karma points MVP 2x c-trib
    May 29, 2018 @ 13:49
    Paul Seal from codeshare.co.uk
    0

    Hi Niels Yes it is available as ReadOnly, like how Jamie said. I used it recently to look at the Umbraco Tables in ReadOnly mode.

    package of the year!

  • Marcio Goularte 329 posts 1106 karma points
    May 29, 2018 @ 14:16
    Marcio Goularte
    0

    Hi,

    is on the collections page.

    https://umco.github.io/umbraco-fluidity/api/collections/

    enter image description here

    UPDATE: Now I see that it is the chief unicorn who asked the question

Please Sign in or register to post replies

Write your reply to:

Draft