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

Remove x Locations/Events selected string for observer role #3297

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lunars97
Copy link
Contributor

@lunars97 lunars97 commented Dec 17, 2024

Short description

Currently the strings X Locations selected and X Events selectedare being displayed regardless of user role. The observer role can not see checkboxes and therefore can not manupulate anything thus the strings X Locations/Events selected should be hidden.

Proposed changes

  • Hide the strings from non permitted roles
  • Add X Locations selected in archived locations (currently it does not exist) and add check condition whether the user role allowed to see it or not

Side effects

  • none

Resolved issues

Fixes: #3263


Pull Request Review Guidelines

Copy link
Member

@MizukiTemma MizukiTemma left a comment

Choose a reason for hiding this comment

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

Looks good 👍
Should we add a release note? 🤔

@lunars97 lunars97 force-pushed the enhancement/remove-x-locations-and-events-selected-for-observer-role branch from fb05fc7 to 83f2f38 Compare December 18, 2024 11:34
@lunars97 lunars97 added the effort: low Should be doable in <4h label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: low Should be doable in <4h
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove "X Locations/Events selected" text for user roles which don't need to see them
2 participants