Hi Mahmoud, recently (since we last spoke) I began experimenting with using a context processor for a permissions-related aspect of my app. I noticed, however, that when loading the map search page, the context processor functions are each called 15 times! This is something to be aware of as you develop--it would be wise to keep those functions very lightweight.
Good luck, Adam On Tuesday, March 24, 2020 at 6:24:10 PM UTC-5, Mahmoud Abdelrazek wrote: > > Hello Everyone, > > My name is Mahmoud Abdelrazek. I am from Egypt and I am happy to be > introduced to such an active and helpful community. > > I am working on a project to introduce a few custom features to an Arches > implementation. The first of which is imposing zoom in/out limit on each > group of users. > > My questions are: Did anyone try this before? Do you have recommendations > on how this might work? > > The approach I am working on now is to edit the context processors file so > that it would pass different zoom in/out limits based on the group and add > a group limit model on top of the group model to allow the admin to set the > limits per group. > > What do you think of this? > > Any advice is appreciated > > > Thank you, > Mahmoud > > > > -- -- To post, send email to email@example.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/04f49dbd-092e-4f3c-b44a-92ebbf9afd05%40googlegroups.com.