I understand from https://www.drupal.org/node/2368039#comment-9306213 that it is not possible to "control Create permission on a per-section-type basis. That would require custom code."
My question is if it is possible to limit a section type to a specific Space?
Current case: I have created a custome content type "Report" for a specific Space/Group "Coordination", no other space/group needs the content type. I can control permissions for "Report" content type, and give creation permissions only to users in "Coordination" Space/Group. How ever any Space/Group Administrator Member can create a "Report Section" in any other space, although no Report content can be created.
Use case: Only "Coordination" Space/Group Administrator Members can see the "Report Section" creation option. Other Space/Group Administrator Members do not see this section and do not get confused.
Non permission solution: 1) Create "Report Section" will only show in a specific Space because of context, or access in Section Template? 2) It will never show as Create "Report Section" in any Space, and needs to be added manually?
I cannot find a 1 or 2 solution... or any other... yet.
Comments
Comment #2
huizache CreditAttribution: huizache commentedComment #3
huizache CreditAttribution: huizache commentedThe solution I came up with:
Results:
Conclusion:
Comment #4
ugintl CreditAttribution: ugintl commentedAfter creating a space, the menu and the banner of the latest space created shows on every page, even the admin pages. How can I restrict the context to that space so that the menu and the banner only show when the user is within the space context? Any ideas?