-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Header - Add authenticated user organization in hidden fields #5288
base: master
Are you sure you want to change the base?
Header - Add authenticated user organization in hidden fields #5288
Conversation
cc @sigavignon |
@Gustry thanks a lot for the tests. Do you think we should also add other fields (city, postcode, etc.) ? |
If more are added, I would prefer something cleaner (and revert your change in the first commit), using data attributes ? I'm curious what other websites do ? Do they expose all "sensible" data into the frontend ? (with extensions, plugins ...) |
@mdouchin this data could be exposed through jsvars, like dataviz, action, filter, isn't it ? |
Way more comfortable to use |
8fc5cfe
to
0513e4e
Compare
This allows a JavaScript script to get the current user organization and use it in the editing form.
0513e4e
to
9c444a5
Compare
Read onlySummary
Flaky Tests
🔄 This comment has been updated |
This allows a JavaScript script to get the current user organization and use it in the editing form.
Ticket : #
Funded by Ville d'Avignon https://cartes.mairie-avignon.com