# Ahau Community Groups | 2020-06-03 private groups 1. kaitiaki - 1a. inviting people in (how) - 1b. inviting people in (who) - 1c. managing the group - approved content - approved authors 2. how to check someone before letting them in 3. finding a group to be able to join? 4. the pataka for a group 5. managing personal content: - who can see my phone number must haves for minimal function by end July: - 1a. invite people in (how) - 1b. invite people in (who) - minimal way could be just person who started group - (later) add approved inviters - 2. check before letting them in - 4. pataka --- ## draft pattern for group management 0. Ben runs Ahau on his computer: - create a public profile - create a private group "Tairea whanau" - Ben create whakapapa record _inside_ the "Tairea whanau" group 1. Ben set up a pataka - computer always running ahau code - needs a static IP, always on 2. Ben creates ssb-invite invite codes for the pataka - uses one himself - causes you to follow the pataka, and the pataka to follow you - this means you will sync with the pataka (and who it syncs with) - gives one to Ian - via email / signal - this is a single-use code 3. Ian has set up Ahau on his computer, set up public profile used the invite code - Ben and Ian can now see each others public profiles 4. Ben sends invite to "Tairea whanau" private group to Ian: - before: confirm that "Ian" profile is in fact Ian Tairea 5. Ian receives the invite and his system now reveals Tairea whanau - can see the community (where? what notifications?) - can publish new records in the group Questions: - public profiles vs. group profiles - needs building - is the public registry then still on the timeline? Things this still needs: - (1) how to set up pataka? - needs to: hold a bunch of records. people can have their own pataka - ideally hardware of their own - computer could be fine. - could be a computer just running ahau desktop - has a page for spitting out invite codes - needs port-forwarding set up - public versus private group profiles - we need a "simple + safe" version of our profile - AND a detailed version for inside the group (e.g. has phone number) - whakapapa records link only the private records in the group - can only search to connect profiles within the group - all record creation in the context of a group needs to use use the group keys - (4) how to confirm Ian account is really Ian? - (later) Ian sends Ben (over ssb) a bunch of his whakapapa info to confirm who he is - this is his "application" / proof of who he is - Ian calls Ben on the phone / emails his "profileID" .. some code so that ben knows the computer that says it's Ian is really associated with the person. - (later) public community page? - a version of the community profile page which is public - people can "apply" to that and ... those messages go to the currently public kaitiaki of that group? - (later) a way to link a private group with a profile/community Asana: - change desktop app so it can run in pataka mode - can create invite codes - computer must know external IP address plus external port - make it a different installer, use ~/.ahau-pataka for home - views: - status: is it happily running? - disk usage? - replication recently (similar to Patchbay) - profile's it's replicating - generate an invite code - write a guide for port forwarding - change desktop app to be able to use pataka invites - page for entering invite code - page for seeing which pataka I have joined - page for seeing current network connections - public vs private group profiles - first profile will be your public one - also makes a private (for you only) one - also when you join a group.... you can make a new one if you don't already exist in that group?!!! (complex) - ? when a kaitiaki invites someone to a private group perhaps they can also create a group profile for them, or give write access to an existing one - revist multiple authors for records - mix has tangle PR with some of this work already - needs code + design around manually resolving "collisions" in editing? - create a way for Ian to be able to read off / share his account ID so Ben knows to add him (e.g. use his public profileId?) ## Long term ideal download from play store, and then open it and see your community, can just request to join from there - this requires a global registry - not time to do this in the next 2 months ## Designs needed Pataka - create pataka - pataka dashboard - online/offline - any issues - current storage - traffic - terminate pataka? Ahau - insert pataka code - invite someone to the community - recieve connection - link profile to user profile? -