ranfdev / Notify

Linux client for https://ntfy.sh
GNU General Public License v3.0
59 stars 5 forks source link

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

Open nothing-fr opened 8 months ago

nothing-fr commented 8 months ago

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 commented 8 months ago

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

daniel-rikowski commented 2 months ago

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