Multiple users in Car Rental Application

Hello,

I’m evaluating your scheduler product for potential purchase.
I used the scheduler product for making a car-rental application. I used your example application, and now i’m adding some extra functionality to it.
In the Order table I’ve added a user_id column to store the user_id of the creator of the event.

Now, I want events (which are created by other users to) be read-only.

How can I do this?

Hi,
you’ll need to add checking in ‘save’ action (controller method that is used to save updated event), and also you can validate changes on the client side, with JS API of the component.
For reference, you can check how it’s done in another tutorial -

blog.scheduler-net.com/post/2013 … orial.aspx
Check Part III: Authentication and Basic Booking Settings , starting from starting from 6-th item

Thanks!