Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make other user cannot see the event answser? #142

Open
SKKkeith opened this issue Jul 13, 2021 · 4 comments
Open

How to make other user cannot see the event answser? #142

SKKkeith opened this issue Jul 13, 2021 · 4 comments

Comments

@SKKkeith
Copy link

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

Thanks

@pitaj
Copy link
Owner

pitaj commented Jul 14, 2021

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.

@SKKkeith
Copy link
Author

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

@Antosik
Copy link
Contributor

Antosik commented Aug 18, 2021

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

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

@pitaj
Copy link
Owner

pitaj commented Aug 18, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants