Closed profcturner closed 6 years ago
Currently the packages that staff members can change to our defined in get_all_packages() in the Staff object. Therefore, a hidden field could be filtered here. The only real question it how to decide if the user had override. Superuser is maybe too strong... We need a kind of "normal" admin user. It could be from anyone that has permission to "create" a work package, perhaps.
This is now done. Packages are visible to Staff members who are in them. Hidden ones additionally require that the underlying User has the is_staff flag selected.
Allow a package to be hidden from sight unless the logged in user is a SuperUser perhaps?