|
1 | 1 | # User Authorization
|
2 | 2 |
|
3 |
| -Sometimes it doesn't matter if you know who is who. Sometimes it doesn't matter, but you want to make sure people aren't voting again and again to game the system. Sometimes you want transparency. Maybe you already know who they are. Maybe you have your own authorization system. |
| 3 | +Sometimes it doesn't matter if you know who is who in a Polis conversation. Sometimes it doesn't matter, but you want to make sure people aren't voting again and again to game the system. Sometimes you want transparency. Maybe you already know who your users are. Maybe you have your own authorization system. |
4 | 4 |
|
5 | 5 | Polis handles all these cases. Here's how.
|
6 | 6 |
|
7 | 7 | #### Optional social login
|
8 | 8 |
|
9 |
| -*DEFAULT* |
| 9 | +*DEFAULT* |
10 | 10 |
|
11 |
| -By default |
| 11 | +By default, participants can write and vote anonymously, but are prompted to sign in using Facbeook and Twitter. This is low friction for users and encourages voting and writing. |
12 | 12 |
|
| 13 | +#### Social login required to write |
13 | 14 |
|
| 15 | +`pol.is/m/55555 >> Config >> User login required to write >> ON` |
14 | 16 |
|
| 17 | +#### Social login required to vote |
15 | 18 |
|
| 19 | +`pol.is/m/55555 >> Config >> User login required to vote >> ON` |
16 | 20 |
|
17 |
| -There are multiple options for authorizing your participants. By default, users are prompted to connect to write and vote but do not have to. This is low friction usage and encourages activity in your conversations. Here are some other options: |
| 21 | +#### Social login prompts disabled |
18 | 22 |
|
19 |
| -Completely Anonymous - turn off social |
| 23 | +In this scenario, users who have already validated a social profile will still be shown. No users will be prompted to connect their social profile |
20 | 24 |
|
21 |
| -Anon but verified |
| 25 | +`pol.is/m/55555 >> Config >> User shown social login >> OFF` |
22 | 26 |
|
23 |
| -Social login to write |
| 27 | +#### Completely Anonymous |
24 | 28 |
|
25 |
| -Social login to vote |
| 29 | +In this scenario, even users who have already validated a social profile will not be shown. The visualization is hidden. |
26 | 30 |
|
27 |
| -Social login to write & vote |
| 31 | +`pol.is/m/55555 >> Config >> Total Anonymity for All Users >> ON` |
28 | 32 |
|
29 |
| -xid (is this the same as the data-yoursitecreds that we will do for times) |
| 33 | +#### Anonymous but verified via social account login |
30 | 34 |
|
| 35 | +In this scenario, all users are prompted to connect social before voting and / or writing, but the visualization is hidden and no users identities are passed on to you as the owner. This scenario is ideal if you need to ensure that users are not gaming the system, and possibly collect metadata from the accounts like a restricted geolocation, but ensure that identities remain secret. |
| 36 | + |
| 37 | +`pol.is/m/55555 >> Config >> Anonymous but verified with social account >> ON` |
| 38 | + |
| 39 | +#### Proprietary auth |
| 40 | + |
| 41 | +This scenario is only available if the Polis conversation is instantitaed through an embedded `<iframe/>` on your page. You'll decide whether or not the user is verified. You can then use the [per user config] data attributes to customize the experience at will. A nice pattern is to shut off writing and voting for those not logged in, so that users who are not logged in can still consume a read-only version of the conversation by clicking through the visualization. |
| 42 | + |
| 43 | +`data-user-image-url=""` |
| 44 | + |
| 45 | +#### Creating custom URLs for each participant to join |
| 46 | + |
| 47 | +Let's say you are a business intelligence analyst, and a hospital has hired you to run a survey of its doctors and nurses. Conveniently for the purposes of our example, they've asked you to use Polis. |
| 48 | + |
| 49 | +In this scenario, the hospital has an employee database. They would like to correlate employment data - columns like role, length of employment, age, gender, etc. - with groups that emerge in Polis. You are going to send out pol.is links, but it's not appropriate to have doctors and nurses connect |
| 50 | + |
| 51 | +In this case, you'll want to create a URL per participant, with a key that you can use to map them back to the data you already have about them. |
| 52 | + |
| 53 | +... |
0 commit comments