License federation #343
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#343
Loading…
Reference in a new issue
No description provided.
Delete branch "license-federation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #259
I decided not to follow what Peertube was doing, and to use a simple
license
field with the name of the license, because their system is not flexible enough IMO, each AP implementation would have to keep the same list of licenses, and it wouldn't allow any other license outside of that.A bit unrelated, but I also made it possible to have no specific license to keep all your rights on what you wrote. The license field will now be pre-filled with the default license when creating a post, and emptying it will display "All rights reserved" instead of the name of the license.
Codecov Report
0% <0%> (ø)
12.14% <0%> (-0.16%)
4.25% <0%> (-0.1%)
0% <0%> (ø)
Continue to review full report at Codecov.
Works fine, the only thing I don't like is instance not up to date appear to send posts with "All rights reserved" licensing (empty license), however I don't think we can do much better
What if we
.unwrap_or(instance_default_license)
here: https://github.com/Plume-org/Plume/pull/343/files#diff-1b633efbc0716f65e55e3170eb127764R796 ? Maybe this behavior would be better? Or is it worse?I don't know, saying all right reserved is maybe more conservative. Telling peoples "this is CC-BY-SA" when it should be all right reserved seems to me like a bigger problem than the opposite, "all right reserved" might be false but at least it won't induce people into violating licenses involuntarily. Like most of the time when you simply have not enough information, no solution is perfect 😐