-
Notifications
You must be signed in to change notification settings - Fork 116
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
Saving the permission matrix of roles is not properly working #881
Comments
+1 very annoying issue for us too. |
Not sure if its relevant, but I've changed the language to "de" only. So there is no more "en" for me as this is the only language we're supporting right now. However, by judging the logs it appears that the node has been saved with the "-en" postfix.
|
I've found a workaround to this issue: Open the developer console and select "Disable cache" in the network tab. The results look fine. However it still appears that the permissions are not properly set. |
Maybe thats an etag issue. In that case it would be a issue in the server and not the ui. We are currently working on the perm system for the new ui. I'll talk to @philippguertler |
@Jotschi Thanks for taking care of it. I really like the CMS but it has some weird issues (with this being one of them). Also, I need to restart every time I change a permission in order for them to take effect. Is there any ETA on this new UI? Can we use it already somehow? |
@marvin-w I'm curious what issues you found. I want to make sure those are already tracked. Can you write me an email with those at There is no ETA for the new UI but I expect it to be released in the next few weeks. The last status I know of only lists one remaining task to be implemented. You could use it if you build it yourself. The new UI will be included in Gentics Mesh 1.0. |
I've created #882 for the other issue that I'm experiencing right now. Can you point me to a direction on where I can find the new UI and how I'd built it. I could have a look because the current UI is almost unusable for me. |
I got a 304 for this request in the new UI: |
Is there a reason why you use v1 of the API if there is already a v2? I'm just curious. Also thanks @Jotschi for your nice mail! If you can point me to a direction considering the ETag issue I could have a look - but I don't know the architecture of mesh. |
UIThe current Mesh UI uses v1. We have not updated it since it will soon be replaced by the new UI. The main difference between v1 und v2 is in the GraphQL API. ETag ProblemThe issue is here:
Currently the etag is for a project response is just generated from the uuid and the last edittimestamp. This is however not enough since the rolePerms can be part of this response as well. The method has to be adapted to be aware of the The fix and tests should be easy. We'll need to address those problems for the Mesh 1.0 release anyhow. This means we need to take care of those problems next week. |
Fix was released in 0.41.0 |
Thank you! |
Gentics Mesh Version, operating system, or hardware.
Operating System
Problem
Whenever I update the permission of my roles and refresh the page they automatically get dumped and everything is empty again.
Reproducer
Expected behaviour and actual behaviour
Expected
When I update the permissions of a role the view should reflect those changes and save the permissions to the store.
Actual
After a refresh the whole permission matrix is empty again and you need to set everything again.
I'm unsure whether the changes have actually been saved.
The text was updated successfully, but these errors were encountered: