-
Notifications
You must be signed in to change notification settings - Fork 409
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
Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in #10262
Closed
1 task done
Comments
mahmoudadel54
added a commit
to mahmoudadel54/MapStore2
that referenced
this issue
May 2, 2024
…rt plugin is set up to be hidden to certain groups and the user is not logged in Description: - edit parseExpression method in PluginUtils to handle the chanining within cfg expressions
12 tasks
mahmoudadel54
added a commit
to mahmoudadel54/MapStore2
that referenced
this issue
May 2, 2024
…rt plugin is set up to be hidden to certain groups and the user is not logged in Description: - add unit test to test parseExpression change
MV88
pushed a commit
that referenced
this issue
May 2, 2024
…t up to be hidden to certain groups and the user is not logged in (#10270) * #10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - edit parseExpression method in PluginUtils to handle the chanining within cfg expressions * #10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - add unit test to test parseExpression change
MV88
added
the
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
label
May 2, 2024
mahmoudadel54
added a commit
to mahmoudadel54/MapStore2
that referenced
this issue
May 9, 2024
…rt plugin is set up to be hidden to certain groups and the user is not logged in (geosolutions-it#10270) * geosolutions-it#10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - edit parseExpression method in PluginUtils to handle the chanining within cfg expressions * geosolutions-it#10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - add unit test to test parseExpression change
tdipisa
pushed a commit
that referenced
this issue
May 10, 2024
…t up to be hidden to certain groups and the user is not logged in (#10270) (#10298) * #10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - edit parseExpression method in PluginUtils to handle the chanining within cfg expressions * #10262: Map (created with context) crashes if the export plugin is set up to be hidden to certain groups and the user is not logged in Description: - add unit test to test parseExpression change
tdipisa
removed
the
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
label
May 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
If a non-logged in user accedes MapStore as a guest, and opens a Map resource created with a context and this context has some settings to hide the export functionality for users that are not admin then the map crashes, on the console the error is the following
How to reproduce
"disablePluginIf": "{state('userrole') != 'ADMIN'}"
Expected Result
The app should work as normal without crash
Current Result
The app crashes
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
The text was updated successfully, but these errors were encountered: