Environment: dhtmlxScheduler 3.0 + PHP + DB Connector
I’m trying to use the dhtmlxScheduler in a website that would authenticate a user and I would like to limit the user from seeing the entire schedule, only part of it - the part that belongs to his organization, there are more organizations sharing the same scheduler.
I would need to be able to do this from the PHP side that connects to the DB and and reads the data, not from the client side, JS code.
Is this something that can be implemented without customizing the conector or scheduler code?
Afaik is the connector the part which connects to the database and gets the data.
So - correct me when I’m wrong - no it shouldnt be possible to do this without changing the connector. docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:tips
The last example shows a partition by userId - should be easy to adapt it to you needs.
In your events.php file you can user $userID which you get from session and use it in SQL query which fetches events to be displayed. Simply select events which user have access too.