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

Editing of event participants is allowed in the mobile app for users that do not have 'Edit existing event participants' user right #12848

Closed
adinaflorea9 opened this issue Dec 27, 2023 · 1 comment · Fixed by #12883
Assignees
Labels
android-app Affects the Android app bug An error or misbehavior of an existing feature (ticket type) events major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA users

Comments

@adinaflorea9
Copy link

Bug Description

Editing of event participants is not restricted in the mobile app for the users that do not have the 'Edit existing event participants' user right. The user can edit and save the changes but they are not synchronized.

image

Reproduction Steps

  1. Log in the web app with and Admin, and for a Default Surveillance Officer remove the user right 'Edit existing event participants';
  2. Start the mobile app and log in with the edited Surveillance Officer from step 1;
  3. Navigate to the 'Events' list and open an existing event that has event participants;
  4. Open one of the existing event participants and edit information on its page ('Involvement description', 'Responsible region' and 'Responsible district');
  5. Save and trigger a synchronization with the web app.

Expected Behavior

The user should not be able to enter edit mode for event participants in the mobile app/ or the fields should be disabled on the event participant page, similar to how it is in the web app.

Affected Area(s)

Android app

SORMAS Version

1.94.0, 1.93.0

Android version/Browser

Android

User Role(s)

Admin; Default Surveillance Officer that does not have rights to 'Edit existing event participants'

Server URL

local machine

Additional Information

No response

@adinaflorea9 adinaflorea9 added bug An error or misbehavior of an existing feature (ticket type) android-app Affects the Android app events users major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) labels Dec 27, 2023
@MateStrysewske MateStrysewske self-assigned this Jan 12, 2024
sergiupacurariu added a commit that referenced this issue Jan 22, 2024
…_event_participant_edit

#12848 - Fix access to event participant edit in app
@adinaflorea9 adinaflorea9 self-assigned this Jan 29, 2024
@adinaflorea9
Copy link
Author

Verified ticket on the local machine using the latest version of SORMAS from the development branch - 1.94.0-SNAPSHOT(dfc3af7).

@adinaflorea9 adinaflorea9 added the qa-verified Issue has been tested and verified by QA label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app Affects the Android app bug An error or misbehavior of an existing feature (ticket type) events major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants