Skip to content

Conversation

Nebukadneza
Copy link

Some users may run a closed instance, having allowanonymous=false and no means of registration opened. For these instances, users may want to invite guests to notes that they [the users] created. It should be possible to allow such guests to either view or view+edit the notes that they received a link for.

This patch adds this functionality by adding a new config option, allowanonymousedits, which is only evaluated if allowanonymous=false. If a instance has allowanonymous==false && allowanonymousedits==true, then the freely permission will not be removed, allowing the behavior described above.

Fixes #689

Before, closed disallowed guest edits completely, by removing
the `freely` permission. This makes it possible to explicitely bring
back guest-editing, but not guest-note-creation, to closed instances.

Signed-off-by: Dario Ernst <dario@kanojo.de>
@SISheogorath SISheogorath added the feature Wants to add a new feature label Jan 20, 2018
@SISheogorath SISheogorath added this to the 1.1.0-CE Release milestone Jan 20, 2018
Copy link
Contributor

@SISheogorath SISheogorath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally tested. Works fine! Thanks for your contribution!

@daniele-athome
Copy link
Contributor

I found this feature by chance, looking at issues/PR. This is not documented here. Am I looking in the wrong place? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Wants to add a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants