Problem/Motivation
Actually, when adding content that should not have access, we have to set the PAR role and "How to show the page" settings.
Is there a possibility to set these settings by default when creating new content?
Steps to reproduce
Anonymous peoples are not allowed to see restricted pages, so each new content (node) added should have the Anonymous role set by default.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork par-3453114
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sahana _n commentedCreated a MR Please review.
Comment #5
nidhi27Hi @sahana _n,
I have reviewed the MR for this issue. In this solution, for the first time anonymous user option is getting selected by default but if we add another roles and save, and again edit the form at that time also its showing anonymous only.
Expected result:
It should show the newly selected roles as well.
Comment #6
nidhi27Hi @rsych,
Do you need this functionality? If yes than will update the MR.
Thanks!
Comment #9
rsych commentedHello @nidhi27, yes please.
Comment #10
nidhi27Hi @rsych,
These changes are merged to current release. It is having following issues.
For the first time anonymous user option is getting selected by default but if we add another roles and save, and again edit the form at that time also its showing anonymous only.
And in order to achieve this functionality I think there will be a lot of work in current project including schema change. I would suggest to keep as is and revert the current changes.
Thanks!
Comment #12
rsych commentedReverted changes.