I am happy for any feedback and thoughts on the FEP which can be viewed here until the pull request for it is merged.
I already have a few thoughts and questions I wanted to share:
Unified attributions property
I opted for a single attributions property, in favor over adding a new property for every attribution role, e.g. `organizers`, `authors`, etc.
One downside I could think of, that addressing e.g. all “organizers” of an Event does not come with a single string any more.
The pros here are of course, for example, if an application adds support for the current version of this spec, it would not have to guess vocabulary it should look for.
The authorization objects
I heavily leaned on @Claire s draft of handling consent-respecting quote posts. I really liked how clever Claire solved this and admired the non-normative sections about that process, however, I am wondering if all process like “giving proof-able and revoke-able consent that my object has a relation to another object/actor” should be unified? For example I could rename `attributionAuthorization` and `AttributionAuthorization` to `relationshipAuthorization` and `RelationshipAuthorization`. On the other hand, I could have not used a `Relationship` object but invented an `Attribution` object right ahead…
+1 for a single attributions property
In FEP-5219: Groups and permissions, I introduced the affiliations property. Like attributions, it points to a collection of relationships, but those relationships represent privileges rather than contributions.
I think it could be the same collection. Even if they remain different collections, it would be a good idea to make the shapes of objects and related activities more similar.
One downside I could think of, that addressing e.g. all “organizers” of an Event does not come with a single string any more.
FEP-5219 also introduces the audiences property: https://codeberg.org/fediverse/fep/src/branch/main/fep/5219/fep-5219.md#addressing
Would it make sense to build FEP-f12e on the GoToSocial-style interaction controls model used by specs such as FEP-044f, while keeping the Relationship representation for attributions?
I’m thinking about how we’d implement this in Fedify. We already have a @fedify/interaction-controls package that provides shared helpers for several interaction types, including quotes. Aligning the request and authorization structures with that model could help implementations like ours reuse the shared helpers and verification code when adding attribution support.
I haven’t worked out a concrete mapping, and the authorization would still need to cover the exact relationship, including the role being agreed to. Have you considered this approach? Are there requirements here that the existing model would have trouble supporting?
@hongminhee I thought a lot about this approach.
Relationship: the ActivityPub primer as well as the examples in the ActivityStreams vocabulary use relationship exclusively between actors/persons.Authorization: there is no base-authorization class, rather a lot of siblings defined. Which is kind of O.K. from an implementation perspective, but gives me headaches when thinking about specifications.
When talking about wording I often thought that just Relation would fit better than Relationship for a relation between “non-person-objects”, or “person-to-object-relationships”.
At one point I thought we missed chance of a generic Authorization object which always uses an authorizationRelation or similar (e.g. role, relation,…) to describe the kind of authorization, e.g. and Authorization for a Like, a Reply, a Quote, or being Attributed.
But I think, that I am starting to realize that this would not solve the problem of the side-effects a specific authorization has or where it is used. A concrete sub-class can do that, while still leaving the possibility to define more nuanced role-relation like properties.
Give me a few days time, I will consider re-writing the FEP in that manner!