For our new Drupal 9 (or 8 if necc.) web site we require a really nice controllable entry construction the place we may give and prohibit entry on a person by person foundation. Not just for a content material sort but additionally for Drupal Development Service paragraphs (or extra atomic parts of a web page). With Tac Lite we are able to already set Drupal Development Service permission by way of taxonomy phrases on a person bases to view a node. However now we wish to additionally controll single paragraphs inside that node.
What we wish to obtain is a construction like:
Consumer 1: Has entry to content material sorts / nodes with permission "NodeA". Has acess to paragraphs marked with permission "ParagraphA".
Consumer 2: Has entry to content material sorts / nodes with permission "NodeA". Has entry to paragraphs marked with permission "ParagraphB".
Consumer 3: Has no entry rights
from there we might create a Node with content material the place we are able to set Drupal Development Service following:
- We will set Drupal Development Service node permissions to have "NodeA" (this works with Tac Lite)
- We will add some fundamental node contents (that aren’t a part of any paragraph)
- We will add a paragraph p1 and set its permission to "ParagraphA"
- We will add a paragraph p2 and set its permission to "ParagraphB"
What ought to occur is:
- Consumer 1 can view Drupal Development Service contents of Drupal Development Service node and may see Drupal Development Service p1 paragraph however not Drupal Development Service p2
- Consumer 2 can view Drupal Development Service contents of Drupal Development Service node and may see Drupal Development Service p2 paragraph however not Drupal Development Service p1
- Consumer 3 cannot see Drupal Development Service web page in any respect
With Drupal Development Service paragraphs module it’s potential to limit entry to paragraph sorts by way of roles however this presents some issues with what we wish to obtain.
- Its based mostly on paragraph sort, not Drupal Development Service occasion of that sort on a node.
- Its based mostly on person roles, which in our case just isn’t an choice as we would wish 100s of roles.
We’re not certain if paragraphs is Drupal Development Service technique to go. Or if there are different methods to attain this construction. However we wish to have the ability to combine and match content material sorts collectively like it’s potential with paragraphs.
Would there be a manner so as to add this performance by way of a customized module to increase Drupal Development Service paragraphs of tac lite module? Or are there different modules which may do higher?