Update roles authored by Roland Alton's avatar Roland Alton
...@@ -21,7 +21,7 @@ We use [Wordpress](https://wordpress.org/). It is technologically not perfect (m ...@@ -21,7 +21,7 @@ We use [Wordpress](https://wordpress.org/). It is technologically not perfect (m
#### Which technologies do we use? #### Which technologies do we use?
We prefer using fameworks, that speak ActivityPub, which is the protocol for the [Fediverse](https://de.wikipedia.org/wiki/Fediverse#/media/Datei:A_view_into_the_Fediverse.png). That allows us to exchange content very easily in any direction. We prefer using frameworks, that speak ActivityPub, which is the protocol for the [Fediverse](https://de.wikipedia.org/wiki/Fediverse#/media/Datei:A_view_into_the_Fediverse.png). That allows us to exchange content very easily in any direction.
- [PeerTube](https://displayeurope.video/) for video distribution - [PeerTube](https://displayeurope.video/) for video distribution
- [Mastodon](https://displayeurope.social/explore) for microblogging - [Mastodon](https://displayeurope.social/explore) for microblogging
...@@ -34,32 +34,128 @@ See the WIKI pages of the [MVP](Architecture-MVP) and [advanced](Architecture-wi ...@@ -34,32 +34,128 @@ See the WIKI pages of the [MVP](Architecture-MVP) and [advanced](Architecture-wi
#### Which roles are foreseen? #### Which roles are foreseen?
see [Wordpress roles](https://wordpress.org/documentation/article/roles-and-capabilities/) see [Wordpress roles](https://wordpress.org/documentation/article/roles-and-capabilities/)
- subscriber/ guest (anonymous) <table>
- just consuming the content of displayeurope <tr>
- no need to login <th>
- ~~friend (login)~~ Keycloak role
- ~~can comment or rate, may activate a [Mastodon](https://displayeurope.social/explore) account~~
key.displayeurope.eu
- ~~contributor/ supporter (login)~~ </th>
- ~~has given a donation or subscription and might get access to some special features~~ <th>
- ~~edit/ delete posts~~
Wordpress [role](https://wordpress.com/support/invite-people/user-roles/)
- author (login) displayeurope.eu
- publish/ edit/ delete content </th>
- create/ edit/ delete patterns (own) <th>
- editor (login) PeerTube [role](https://git.fairkom.net/emb/displ.eu/portal/-/issues/46 "Keycloak role mapper for PeerTube")
- create/ edit/ delete pages
- create/ edit/ delete content displayeurope.video
- create/ edit/ delete categories </th>
<th>
- administrator (login)
- cares about the technical base Mastodon role
- updates
- new features displayeurope.social
</th>
<th>
cba role
cba.media
</th>
<th>use case</th>
</tr>
<tr>
<td>(not logged in)</td>
<td>guest</td>
<td>guest</td>
<td>guest</td>
<td>guest</td>
<td>Visitor</td>
</tr>
<tr>
<td>
`display_user`
(assigned automatically after self-registration)
</td>
<td>Subscriber (may subscribe to feeds and may comment, if enabled)</td>
<td>User (no uploads, may comment, if enabled)</td>
<td>User (gets a fully functional Mastodon account)</td>
<td>Subscriber (is currently disabled but will be the user role for non-uploaders)</td>
<td>Engaged visitor and user of additional services</td>
</tr>
<tr>
<td>
`display_contributor` (assigned by display_admin, in future triggered by subscription payment)
</td>
<td>Contributor (may write post but not publish it)</td>
<td>(10 GB quota, may publish only videos with private links)</td>
<td>
</td>
<td>disabled</td>
<td>Coop shareholder or has a subscription</td>
</tr>
<tr>
<td>
`display_author` (must have signed publisher agreement, manually assigned by display_admin)
</td>
<td>Author (can edit and publish own posts)</td>
<td>(100 GB quota or more needs to be set manually)</td>
<td>
\-
</td>
<td>
Uploader roles: 'author' (Radio user who is part of a station) or 'podcaster' (Uploader who belongs to a channel).
Uploaders can add/edit/delete their own podcasts, add/edit/delete their own episodes.
</td>
<td>Authors with publisher agreement</td>
</tr>
<tr>
<td>
`display_editor` (manually assigned by display_admin)
</td>
<td>Editor (can edit all posts and pages)</td>
<td>Moderator</td>
<td>
\-
</td>
<td>
Disabled. Could be either mapped to role 'displeu_reviewer' that can edit posts/media/transcripts/translations tagged with 'displeu' and flag them as "approved" to be displayed on displayeurope.eu (resp. in the corresponding cba endpoint)
Could also be mapped to roles:
'station_manager' or 'channel_manager', who are able to edit all podcasts and episodes of their station/channel.
</td>
<td>Editorial group</td>
</tr>
<tr>
<td>
`display_admin`
</td>
<td>Administrator</td>
<td>Administrator</td>
<td>Administrator</td>
<td>Administrator (role 'administrator')</td>
<td>TechTeam, some of EditorialTeam</td>
</tr>
</table>
For roles see also https://git.fairkom.net/emb/displ.eu/portal/-/issues/44
# Content # Content
#### Who is allowed to upload content? #### Who is allowed to upload content?
... ...
......