Skip to content
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

Content views give inaccurate results to "regular users" #122

Open
rosiel opened this issue Nov 15, 2023 · 0 comments
Open

Content views give inaccurate results to "regular users" #122

rosiel opened this issue Nov 15, 2023 · 0 comments

Comments

@rosiel
Copy link
Contributor

rosiel commented Nov 15, 2023

Regular users, i.e. non-admin users, may see fewer results in the Content view than there are nodes available. This is likely due to the joins on the node table in the relationships with parents, children, and potentially also media. @aOelschlager found this drupal issue, "node_access filters out accessible nodes when node is left joined", which seems to identify the cause.

In preparation for having a "islandora editor" type role (a "regular user" role), I think it would be prudent to remove the children and parents relationships from the Content table so that it can be relied upon more readily.

p.s. this stinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant