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: Users with read only access can make changes #8862

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

MWS: Users with read only access can make changes #8862

Jermolene opened this issue Dec 23, 2024 · 0 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 button "Add Admin Account"
  5. Enter suitable details for an admin account and click "Add User"
  6. Choose "Manage Roles" and create a new role called OPERATOR
  7. Choose "Manage Users" and then add the details of a new secondary user account
  8. Edit the newly created user to it to the role OPERATOR
  9. Click the home button
  10. Click the padlock icon next to the wiki "recipe-tau" at the URL http://127.0.0.1:8080/admin/acl/recipe-tau/bag-alpha
  11. Assign READ permission to the role OPERATOR for both the recipe and the bag as shown in the illustration below
  12. In a different browser, visit http://127.0.0.1:8080/ and login as the secondary user
  13. As the secondary user visit the wiki http://127.0.0.1:8080/wiki/recipe-tau
  14. Create a new tiddler and observe that it is saved back to the server (this can be verified by refreshing the page). I would have expected attempts to write to the bag to fail given the permissions specified
image

cc @webplusai

webplusai added a commit to webplusai/TiddlyWiki5 that referenced this issue Dec 24, 2024
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

1 participant