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
At the moment the querysets allowed in listviews (APIS_LIST_VIEW_OBJECT_FILTER) and the condition for checking if the detail page is allowed for viewing ( APIS_VIEW_PASSES_TEST) are distinctly separate.
In my opinion, we require only one setting, APIS_LIST_VIEW_OBJECT_FILTER. APIS_VIEW_PASSES_TEST could be dropped and the detail page view permission should be based on whether the entity is in the APIS_LIST_VIEW_OBJECT_FILTER queryset.
We can customise which entities the user is allowed to see using the following flags
APIS_LIST_VIEW_OBJECT_FILTER
,APIS_VIEW_PASSES_TEST
At the moment the querysets allowed in listviews (
APIS_LIST_VIEW_OBJECT_FILTER
) and the condition for checking if the detail page is allowed for viewing (APIS_VIEW_PASSES_TEST
) are distinctly separate.In my opinion, we require only one setting,
APIS_LIST_VIEW_OBJECT_FILTER
.APIS_VIEW_PASSES_TEST
could be dropped and the detail page view permission should be based on whether the entity is in theAPIS_LIST_VIEW_OBJECT_FILTER
queryset.Related to #1400
The text was updated successfully, but these errors were encountered: