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
In the current implementation, when the assign_tenders boolean is True for an organization, all bartenders (either assigned or unassigned) can see the buttons to open POS&DCF. The logic used for rendering this button is:
{% if e in events_tending or request.organization == e.organizer and request.organization.assigns_tenders and is_tender %}
We propose an improvement that only assigned bartenders and organization managers can see the buttons. So that would change the rendering logic to: {% if e in events_tending or request.organization == e.organizer and request.organization.assigns_tenders and is_manager %} where is_manager checks whether the user is a manager of e.organizer.
The text was updated successfully, but these errors were encountered:
In the current implementation, when the
assign_tenders
boolean is True for an organization, all bartenders (either assigned or unassigned) can see the buttons to open POS&DCF. The logic used for rendering this button is:alexia/templates/scheduling/event_list.html
Line 128 in 9431a47
We propose an improvement that only assigned bartenders and organization managers can see the buttons. So that would change the rendering logic to:
{% if e in events_tending or request.organization == e.organizer and request.organization.assigns_tenders and is_manager %}
whereis_manager
checks whether the user is a manager ofe.organizer
.The text was updated successfully, but these errors were encountered: