Closed Corborax closed 2 months ago
This one, I need to create a branch from the previous branch I created to fix another bug. Its the same file to correct the issue.
@Corborax Can you please check if the solution implemented is ok? If yes, I can close the ticket and then I can make a merge request (needs to be after the other bugfix I did, because it is the same file)
Waiting for @Tarian-Wolf's answer
Nice, closing the topic after confirmation
User Role
Critter System Staff
System Type
Computer
Operating System
Other
OS Version
-
Browser Details (if applicable)
No response
Steps to Reproduce
Expected Behavior
The Shifts section should display a message indicating that no shifts are currently available, and the user should be able to create new shifts if they have the appropriate permissions.
Actual Behavior
Instead of displaying an empty shifts list or allowing shift creation, the system redirects to the News page with an error message. Shift creation is only possible when logged in as an Admin.
Feature Area
Shift Creation and Management
If you selected "Other", please specify
No response
Severity
Major Issue
Error Messages
(Include any error messages here if applicable. If none were provided, you could write "No specific error message provided.")
Workarounds Tried
No workarounds available for non-admin users.
Network Type
None
Anything Else?
The issue was noticed by @Tarian-Wolf and seems to be affecting the ability to create shifts for non-admin users when no shifts have been created yet.I ne