Show appointments of logged in user only

SupportShow appointments of logged in user only
alexander Staff asked 6 years ago
Hi Nicola We are using the plugin with the premium extension. We have a WordPress account per worker, and we would like that each worker can only see his or her private appointments. Let's say we have workers A, B and C, and admin X. Admin X should see appointments of all workers (A, B and C). This is how the plugin is setup by default. Worker A, when logged in, should see all appointments for himself, but he should not see the appointments of other works (B and C). Is this possible? Thanks for your support and making this plugin happen!
2 Answers
Nikola Loncar Staff answered 6 years ago
Hi, it's not working like that but it can be done. Can you tell me how EA should know that this is the same person (logged in WP and EA worker)? Maybe by having the same email? Best regards, Nikola
alexander Staff replied 6 years ago

Yes, same email should be good.

I’m building an add-on that will create a new EA worker when a new WP user (of a specific role) gets added. So in that case we can do it by email.

One problem will be when the WP user changes the email. The change won’t register at EA, except if maybe I can write a hook for it.

But anyways, for EA, email based calendar permissions should suffice. Thanks for your response!

alexander Staff answered 6 years ago
Hi Nikola, I see you are hard at work developing features and implementing bug fixes. As I move along with my own project, should I wait for you to implement calendar permissions based on user email, or is this low-priority for you and should I just do it myself?
Nikola Loncar Staff replied 6 years ago

Hi, it will be added soon, plan is to have it within next two weeks.

Best regards,
Nikola

alexander Staff replied 6 years ago

Great to hear, thanks a lot for considering it! I will await your code changes and develop other parts of my project first. Keep up the good work!