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

Drillcore view tabs do not use permissions #47

Open
urtson opened this issue Sep 19, 2018 · 0 comments
Open

Drillcore view tabs do not use permissions #47

urtson opened this issue Sep 19, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@urtson
Copy link

urtson commented Sep 19, 2018

Currently tabs and the count of their contents are displayed according to results from drillcore_summary table which includes the count of all records.
This does not work if some records don't have view permissions.
For example, CT scan of Kylylahti 223 drillcore can now be viewed only by our people. For anonymous user the tab is displayed incorrectly.

Need a workaround for this. Making several queries is not a solution because of speed.
Maybe separate rows for different users/groups in drillcore_summary table?

@urtson urtson added the enhancement New feature or request label Sep 19, 2018
@urtson urtson self-assigned this Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant