You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backend for hiding/showing task templates to all users within the task template library
What is needed?
Add a visibleToNonAdmins Field to the CustomizedBattery Schema
Add a new API route in the src/routes/admin.route.ts file to allow admins to toggle task template visibility (PUT request /visibility)
for the PUT: maybe have it use a path param to specify on/off so it's clear what you're setting it to be (PUT /visibility/:status where status is "on" or "off" and you could add a validation check for those values in the logic)
Create a method in the admin.service.ts file to update the visibleToNonAdmins field.
perhaps an update for dynamic task fetching
The text was updated successfully, but these errors were encountered:
arath7
changed the title
Disable stages for normal users to see in task template editing
Backend: API request for hiding stages for non-admin users to see in task template editing
Jan 20, 2025
arath7
changed the title
Backend: API request for hiding stages for non-admin users to see in task template editing
Backend: API request for hiding/showing task templates for non-admin users
Jan 20, 2025
arath7
changed the title
Backend: API request for hiding/showing task templates for non-admin users
Backend: API request for hiding/showing task template stages for non-admin users
Jan 22, 2025
arath7
changed the title
Backend: API request for hiding/showing task template stages for non-admin users
Backend: API request for hiding/showing task templates for non-admin users
Feb 4, 2025
The backend for hiding/showing task templates to all users within the task template library
What is needed?
The text was updated successfully, but these errors were encountered: