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

Expand description of default_user and default_group search configurations #429

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Dec 19, 2022

Clarify the expectations when setting the special values of 0 (default) and -1 for the omero.web.search.default_user and omero.web.search.default_group properties introduced in #297

Additionally, this reveals a lack of symmetry between default user where 0 == current user and -1 == all users/members and the default group where both 0 and -1 are all groups. I assume in an upcoming breaking change, the logic could be reviewed so that 0 could select the current group.

/cc @muhanadz @knabar

…tions

Specify the expectations when setting the special values of 0 (default) and -1
@sbesson sbesson requested a review from pwalczysko January 10, 2023 13:54
@jburel
Copy link
Member

jburel commented Jan 10, 2023

It will make sense to also include this PR in the upcoming release. This is only doc for properties.
@pwalczysko are you okay with that? (you are marked as reviewer)

omeroweb/settings.py Outdated Show resolved Hide resolved
Copy link
Member

@pwalczysko pwalczysko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor syntax suggestion, when accepted, ready to merge and release fmpov.

Co-authored-by: pwalczysko <p.walczysko@dundee.ac.uk>
@jburel
Copy link
Member

jburel commented Jan 10, 2023

@pwalczysko's suggestion has been integrated. Merging the PR

@jburel jburel merged commit ed04454 into ome:master Jan 10, 2023
@jburel jburel mentioned this pull request Jan 10, 2023
@will-moore will-moore added this to the 5.17.0 milestone Jan 10, 2023
will-moore added a commit to will-moore/omero-web that referenced this pull request Jan 10, 2023
@sbesson sbesson deleted the search_default_documentation branch February 10, 2023 13:44
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

Successfully merging this pull request may close these issues.

4 participants