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

Error 403 Forbidden on stats/auth if User as "User" role. #18

Open
nothing-fr opened this issue Mar 19, 2024 · 3 comments
Open

Error 403 Forbidden on stats/auth if User as "User" role. #18

nothing-fr opened this issue Mar 19, 2024 · 3 comments

Comments

@nothing-fr
Copy link

nothing-fr commented Mar 19, 2024

Hi,

My server is configured with deny-all by default (and ntfy access <user> zabbix rw ACL for the user), afterward the user can connect via Ntfy.sh WebUI and interact with the topic Zabbix.

But I get error 403 Forbidden on stats/auth when I try to add the new account in Notify:

image

Do I have to make a special ACL to connect with Notify ?

Thanks for your help.

@ranfdev
Copy link
Owner

ranfdev commented Mar 19, 2024

Weird. I haven't tested with ACLs, maybe there's something wrong going on... I will test

@daniel-rikowski
Copy link

daniel-rikowski commented Sep 13, 2024

Same problem here...

I had to add a wildcard rule to make it work:

Doesn't work:

ntfy access daniel monit rw
ntfy access daniel 'prefix*' rw

But this does:

ntfy access daniel '*' rw

@n1yn
Copy link

n1yn commented Dec 31, 2024

It works for me if I add the read permission for the stats topic to my user n1yn.

ntfy access n1yn stats ro

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

No branches or pull requests

4 participants