Open cmcintosh opened 6 years ago
I have already done some work on this for another project and will be generating a PR to get this into the module as i can see it being something that could be useful for several folks.
See #300 for a portion of what you are requesting.
Objective: To create a new views access plugin that will allow restricting access to the current view based on the User's membership and/or Organic Group permission.
Steps:
We will need a way to set/check the currently active group we are checking against. This can be tricky as we may not know what argument will be the Group's id and/or how to detect the group type/bundle.
Define the access handlers/access result based on the following: