Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History Management #338

Open
marcelagz opened this issue Dec 5, 2023 · 0 comments
Open

History Management #338

marcelagz opened this issue Dec 5, 2023 · 0 comments

Comments

@marcelagz
Copy link
Collaborator

The url api "laboratory:api-logentry-list" is used in these following views:

  • Laboratory view / Register user / History button --> QR user access history.
  • Organization management / Log list button --> Organization history.

Its really important keep access to both views with active and inactive organizations. However the first view (user access history) has a restricted access to inactive organizations. So, we need to analyze this point if is necessary to move this view or create and direct access.

Second point is trying to update the api "LogEntryViewSet" without have negative affect on its results with following code:

class LogEntryViewSet(mixins.RetrieveModelMixin, viewsets.GenericViewSet):
            lookup_url_kwarg='org_pk'
            lookup_value_regex = '\d+'
           def retrieve(self, request, org_pk, *args, **kwargs):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant