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.
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.
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...
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
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!
Hi,
is on the collections page.
https://umco.github.io/umbraco-fluidity/api/collections/
UPDATE: Now I see that it is the chief unicorn who asked the question
is working on a reply...