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

MWS: HTTP 403 error clicking on ACL button in anonymous mode #8854

Open
Jermolene opened this issue Dec 23, 2024 · 3 comments
Open

MWS: HTTP 403 error clicking on ACL button in anonymous mode #8854

Jermolene opened this issue Dec 23, 2024 · 3 comments

Comments

@Jermolene
Copy link
Member

Steps to reproduce:

  1. Start with a fresh install of MWS
  2. Run npm install and npm start
  3. Visit http://127.0.0.1:8080/ in a browser
  4. Click the padlock icon next to the dev-docs wiki
  5. Observe the HTTP 403 error at the path http://127.0.0.1:8080/admin/acl/dev-docs/dev

cc @webplusai

@webplusai
Copy link
Contributor

I think the solution would be to only display the ACL button only when the user is an ADMIN or they own the recipe, right? @Jermolene

@pmario
Copy link
Member

pmario commented Dec 23, 2024

I think yes. ... It seems at the moment the recipe-table in the database does not contain any owner.

image

@Jermolene
Copy link
Member Author

Hi @webplusai yes it makes sense to only display the ACL button when the user is an ADMIN or they own the recipe.

webplusai added a commit to webplusai/TiddlyWiki5 that referenced this issue Dec 23, 2024
webplusai added a commit to webplusai/TiddlyWiki5 that referenced this issue Dec 23, 2024
Jermolene pushed a commit that referenced this issue Dec 23, 2024
* #8854 fix acl error in anon mode

* #8854 fix test failure
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

3 participants