## Description <!-- Add here a few sentences describing the bug. --> If a map is created from a context, the user cannot view or edit the map if the context is set as “unadvertised” https://github.com/user-attachments/assets/12616a6a-90e8-4d16-8100-a5e263b8f6b9 ## How to reproduce <!-- A list of steps to reproduce the bug --> - Login as admin - Open a context with Advertised option disable and user can view/edit - Click on Save to create a map - From the map, add view/edit permission for a group of user - Click on Logout - Login as user *Expected Result* <!-- Describe here the expected result --> The Context is not visible on homepage for the user and the map is visible/editable by the user *Current Result* <!-- Describe here the current behavior --> The context is not visible on homepage for the user and the is not visible/editable by the user - [x] Not browser related <details><summary> <b>Browser info</b> </summary> <!-- If browser related, please compile the following table --> <!-- If your browser is not in the list please add a new row to the table with the version --> (use this site: <a href="https://www.whatsmybrowser.org/">https://www.whatsmybrowser.org/</a> for non expert users) | Browser Affected | Version | |---|---| |Internet Explorer| | |Edge| | |Chrome| | |Firefox| | |Safari| | </details> ## Other useful information <!-- error stack trace, screenshot, videos, or link to repository code are welcome -->
Description
If a map is created from a context, the user cannot view or edit the map if the context is set as “unadvertised”
swam.mp4
How to reproduce
Expected Result
The Context is not visible on homepage for the user and the map is visible/editable by the user
Current Result
The context is not visible on homepage for the user and the is not visible/editable by the user
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information