Make it possible to allow some pages to display publicly even when organization access is limited #6951
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
Currently if you have configured the Decidim organization to "Force users to authenticate before access organization", some relevant pages become inaccessible for unauthenticated users.
An example of this is the is the "Find out more about cookies" link in the cookie notification (see the screenshots section). If the user cannot find out more about the cookies, how can you expect them to accept what is written there?
This PR implements a new checkbox for the static pages which allows administrators to configure specific pages to be accessible even without authentication. This configuration option is automatically applied to the
terms-and-conditions
page where the link in the cookie notification points to.We also got a user feedback suggesting that this may be against GDPR that they cannot read the terms before accepting them.
Testing
/system
and enable the "Force users to authenticate before access organization" configuration option for the organization📋 Checklist
docs/
.📷 Screenshots
An inaccessible link in the cookie notification before signing in:
