action #167818
closedcoordination #154768: [saga][epic][ux] State-of-art user experience for openQA
coordination #154771: [epic] Improved test developer user experience
Activity view access forbidden in Operator Mode size:S
0%
Description
Observation¶
While logged-in as an Operator and trying to access Activity View (https://openqa.opensuse.org/admin/activity_view) and OBS Sync (https://openqa.opensuse.org/admin/obs_rsync) results in "Forbidden" message in web browser.
Rest other menu options are accessible such as:
- https://openqa.opensuse.org/admin/products
- https://openqa.opensuse.org/admin/machines
- https://openqa.opensuse.org/admin/test_suites
Acceptance criteria¶
- AC1: The activity view is acessible by all logged in users that can have any activity.
- AC2: The menu entry for the OBS Sync plugin is only visible to users that can access it.
- AC3: The audit log is still only accessible by admins.
Suggestions¶
- As the activity view relies on the audit log we need to change that implementation, e.g. provide a subset of the audit log composed of only the current user
Files
Updated by mkittler 2 months ago
- Status changed from In Progress to Feedback
The activity view relies on the audit log so we needed to make that accessible by operators as well, see https://github.com/os-autoinst/openQA/pull/5995.
I could not reproduce the problem that the OBS Sync plugin is inaccessible by operators. However, it is in fact inaccessible by normal users. I think that makes sense to simply hide the link if the user is no operator. PR: https://github.com/os-autoinst/openQA/pull/5996
Updated by okurz 2 months ago
- Status changed from Feedback to Resolved
https://github.com/os-autoinst/openQA/pull/5996 merged. Should be enough