pitaj/nodebb-plugin-calendar

How to make other user cannot see the event answser?

Opened this issue · 4 comments

I would like to disable user to see other user will join the event.
Does it have any method to archive that ?

Thanks

pitaj commented

There's currently no built-in way to hide responses from other users. You could hide them visually with CSS but that wouldn't prevent a determined user from seeing them.

There's currently no built-in way to hide responses from other users. You could hide them visually with CSS but that wouldn't prevent a determined user from seeing them.

Thanks so much for your reply.
Actually I'm not much understand nodebb logic.
My feature is that only admin can visit which user will join the event.
so that I tried to hide by css and it's success.
But may I know how can I check the current user privilege in the responses.tpl?

Thanks so much for your help

@pitaj, should we create one more privilege for this functionality?

One more useful case - hide responses block from guests/spiders 🤔

pitaj commented

Yes a new privilege would need to be added to handle this.