You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Do we want each venue to belong to one chapter? There are couple of reasons I can see to do this, one practical and one technical.
The practical reason is that a venue is typically going to be close to the chapter members and so forcing event creators to choose from all possible venues is unhelpful. There is also the potential for confusion if admins of multiple chapters update the same venue.
The technical reason is that the authorisation logic uses the target chapterId to determine if a user's request should be rejected. If chapterId is not sent as part of the request, then chapter admins will not be able to manage venues. There are a few potential workarounds:
Give chapter admins the VenuesManage instance role
Handle the authorization logic in the resolver
Rework authorization logic
Issues:
is pretty awkward. In part because it's messy (users shouldn't need more than one role) and in part because instance permissions cannot be stopped by bans (yet).
mixes up concerns
is the nuclear option, since I'm not sure what we'd do instead
Summing up
Given that there are positive reasons to want this as well as a lack of obvious workarounds, I think this is the way to go.
Any concerns before I get on with implementing this?
I guess what you're asking is if there would be global venues, or else duplicate venues in situations where two or more Chapters meet at the same location.
The use case I have isn't the base case, but having global venues wouldn't work well for it. That is, I plan to run an instance of Chapter for my local area as a resource for all of the small meetup groups that don't / won't have a parent organization hosting an instance for them. So, in that case we'd have many events in the same venue for different organizers.
I think making the venues specific to the chapter could work. The database would likely end up with duplicate venue records, but IF you're filtering the list of available venues to only showing the venues that Chapter admin / organizer created, then nobody would see the duplicates and it wouldn't be confusing because nobody would see venues they didn't create.
A middle-ground on global vs duplicate venues is if you had a flag in the venues table where some venues could be set as global, and therefore available to all events?
I'm suggesting this more as a post-MVP, but it could give some flexibility to where an owner or admin could control the list of approved venues. Or, the owner / admin could allow organizers to maintain their own subset of venues. Or, allow for a mix of the two.
Maybe a safe option would just be the ability to view a read-only list of other chapter's venues.
So, the user story would be something like this:
As a Chapter admin, I can see a list of all Venues and import copies of them into my Chapter
This way it's clear who has the right to modify things (admins of the appropriate chapters and owners), but we cut down on the busy-work of setting up a venue.
Even with the standard use case, I could see the venue list getting messy if organizers are left to their own devices.
If someone is going to see a "standardized" list of venues, then it may be best that only an admin has that ability so you don't end up with organizers doing things different ways and creating noise for each other.
For example, you might end up with organizers creating a new, effectively duplicate, venue just to differentiate a floor or area or room. For instance I can imagine venue titles, like "The Spot - 1st Floor" vs "The Spot - 3rd Floor, Room 3".
Having a standardized list of venues with GPS coordinates would be nice to show on a map and such, but it seems like Meetup and Eventbrite don't attempt to offer venue suggestions because it's unlikely to fit the long-tail of things organizers want or expect the venue to do.
I feel like having a "global" / "universal" (or some better name) flag on the events could offer the best of both worlds if the permissions, post-MVP, allowed for the the admin / owner to define who can create a venue.
Only Admins Can Create Venues - admins create all venues and mark them as global and organizers can pick from the defined / approved list
Organizers Can Create Own Venues - organizers can create venues and can only see the ones they've created.
Mixed - Organizers can see a list that combines (global, admin-created venues + their own venues), but not non-global venues created by other organizers.
Sounds good to me. Once organisers exist, they will definitely need to be able to create venues, even if they mostly use existing ones.
I suspect we'll only truly know once we've used it for a while, but the Mixed approach seems good. It gives organisers all the freedom they'll need while still saving them time (assuming they check the global list).
Sure, if you can start with authorization for chapter specific and it won't complicate something like adding a global venues flag, then that sounds like a decent MVP.
You're more than welcome to work on this. My next task is move us from using magic links for Authorization to using Auth0, so I won't be touching much else until that's done.
Activity
allella commentedon Jul 8, 2022
I guess what you're asking is if there would be global venues, or else duplicate venues in situations where two or more Chapters meet at the same location.
The use case I have isn't the base case, but having global venues wouldn't work well for it. That is, I plan to run an instance of Chapter for my local area as a resource for all of the small meetup groups that don't / won't have a parent organization hosting an instance for them. So, in that case we'd have many events in the same venue for different organizers.
I think making the venues specific to the chapter could work. The database would likely end up with duplicate venue records, but IF you're filtering the list of available venues to only showing the venues that Chapter admin / organizer created, then nobody would see the duplicates and it wouldn't be confusing because nobody would see venues they didn't create.
allella commentedon Jul 8, 2022
A middle-ground on global vs duplicate venues is if you had a flag in the venues table where some venues could be set as global, and therefore available to all events?
I'm suggesting this more as a post-MVP, but it could give some flexibility to where an owner or admin could control the list of approved venues. Or, the owner / admin could allow organizers to maintain their own subset of venues. Or, allow for a mix of the two.
ojeytonwilliams commentedon Jul 8, 2022
Maybe a safe option would just be the ability to view a read-only list of other chapter's venues.
So, the user story would be something like this:
This way it's clear who has the right to modify things (admins of the appropriate chapters and owners), but we cut down on the busy-work of setting up a venue.
allella commentedon Jul 8, 2022
Even with the standard use case, I could see the venue list getting messy if organizers are left to their own devices.
If someone is going to see a "standardized" list of venues, then it may be best that only an admin has that ability so you don't end up with organizers doing things different ways and creating noise for each other.
For example, you might end up with organizers creating a new, effectively duplicate, venue just to differentiate a floor or area or room. For instance I can imagine venue titles, like "The Spot - 1st Floor" vs "The Spot - 3rd Floor, Room 3".
Having a standardized list of venues with GPS coordinates would be nice to show on a map and such, but it seems like Meetup and Eventbrite don't attempt to offer venue suggestions because it's unlikely to fit the long-tail of things organizers want or expect the venue to do.
I feel like having a "global" / "universal" (or some better name) flag on the events could offer the best of both worlds if the permissions, post-MVP, allowed for the the admin / owner to define who can create a venue.
ojeytonwilliams commentedon Jul 11, 2022
Sounds good to me. Once organisers exist, they will definitely need to be able to create venues, even if they mostly use existing ones.
I suspect we'll only truly know once we've used it for a while, but the Mixed approach seems good. It gives organisers all the freedom they'll need while still saving them time (assuming they check the global list).
ojeytonwilliams commentedon Jul 11, 2022
Back to the MVP: having more than one type of list of venues isn't minimal and if we're picking one, chapter specific lists seem best.
allella commentedon Jul 11, 2022
Sure, if you can start with authorization for chapter specific and it won't complicate something like adding a global venues flag, then that sounds like a decent MVP.
ojeytonwilliams commentedon Jul 14, 2022
Reopening since there is more to be done. Context: #1212 (comment)
gikf commentedon Jul 19, 2022
@ojeytonwilliams Are the rest of the changes up for grabs, or are you planning to/working on it?
ojeytonwilliams commentedon Jul 19, 2022
You're more than welcome to work on this. My next task is move us from using magic links for Authorization to using Auth0, so I won't be touching much else until that's done.