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

feat: get outing views and update disable view count #1731

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

florentcadot
Copy link
Contributor

@florentcadot florentcadot commented Jan 22, 2024

The missing blocks to solve c2corg/c2c_ui#2648, see #1726 description for more details.

Important

This branch is based on what have been done in #1726. The code should not be reviewed and converted to a real PR until #1726 have been merged.

What have been done

  • Update API route to allow authorized users (ACL management) to update disable_view_count state
  • Get API route to allow authorized users (ACL management) to read the counter of a document if disable_view_count is False

@florentcadot florentcadot force-pushed the feature/enable-documents-views branch from 0127287 to 5003194 Compare January 23, 2024 16:06
@florentcadot florentcadot force-pushed the feature/enable-documents-views branch from 5003194 to 7804a06 Compare January 23, 2024 16:10
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

Successfully merging this pull request may close these issues.

1 participant