Needs work
Project:
DROWL Paragraphs for Bootstrap
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
1 Mar 2022 at 17:11 UTC
Updated:
25 Apr 2024 at 05:58 UTC
Jump to comment: Most recent
Allow restricting access to paragraphs by providing a separate layout_paragraphs layout with an entity_access_by_role_field field.
Comments
Comment #3
anybodyComment #8
anybodyComment #10
anybody@thomas.frobieter could you perhaps add a library and a css style to this paragraph type in the admin area? (like perhaps in other paragraph types / submodules?) to indicate that the layout has restricted access?
Something like a light yellow and if simply possible a lock symbol?
Classes of this layout are:
"js-lpb-component is_new lpb-layout pt-lg pb-lg paragraph paragraph--type-layout-restricted-access paragraph--view-mode--preview"
Then hovering the layout, you can see the type, so then it's no problem.
Can be tested on DEMO. This can be closed fixed afterwards.
Comment #11
anybody@thomas.frobieter could you please check if we solved #10 somehow and this can be closed? Perhaps we forget to close it or we forgot to finish that part?
Comment #12
anybodyMoved over to _bs. If relevant, the improvements might be copied over to drowl_paragraphs.