-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace node_access_strict so it works with all entity types #271
Comments
Just as a primal thought, since we are handling users in a special way in OG, maybe this option should still exclude users (if they are group content?). |
I have done a little testing on this. It seems to work fine for update/delete operations if we do the following
but the create is a bit more tricky as the hooks are called after the access handlers and there is no clue on what is the status till then. |
Introduce OgMembershipInterface::revokeRoleById()
In our project we have a 'site moderator' role which can create, edit and delete any group content regardless whether they are a member of the group or not.
It would be ideal to use the
node_access_strict
option for this, but our group content does not only consist of nodes, we are using different entity types.Can we change
node_access_strict
to something likestrict_access
and don't restrict it to nodes only?The text was updated successfully, but these errors were encountered: