AtlasOfLivingAustralia / alerts

Alerts services
https://alerts.ala.org.au
Other
1 stars 6 forks source link

Issue adding new alert into prod. alert admin page #234

Open turley85 opened 1 month ago

turley85 commented 1 month ago

I’m trying to add a new list into the alerts admin page. I’ve added the list UID and my email address and clicking “subscribe alert”. It’s then taking be mack to the email subscription page with error “You don’t have permission to view that page! image (1) image (2)

Could this be resolved so I can add a new alert in prod please?

kylie-m commented 1 month ago

Thanks for flagging Andrew,

Confirming I'm getting the same issue on my ROLE_BIOSECURITY_ADMIN (ie non ALA Admin) testing account.

Steps to replicate the error were as above, the URL of the page with the error msg is https://alerts.ala.org.au/notification/myAlerts

If it's useful, this test case passed in alerts-test (using Cognito-test)

kylie-m commented 1 month ago

@qifeng-bai after further testing on production with my ROLE_BIOSECURITY_ADMIN account found:

Functioning:

Not functioning (same result as above)

kylie-m commented 1 month ago

Hi @qifeng-bai, thanks for working on this! Most of the access issues seem fixed now.

Testing on test with my ROLE_BIOSECURITY_ADMIN account found:

Functioning:

Not functioning:

Screenshot 2024-07-22 at 7 48 46 pm

kylie-m commented 1 month ago

Delete an alert is now working well for a ROLE_BIOSECURITY_ADMIN on test. Thanks @qifeng-bai !