diff --git a/apps/workspaces/permissions.py b/apps/workspaces/permissions.py index 40c99e3d..ed6a893f 100644 --- a/apps/workspaces/permissions.py +++ b/apps/workspaces/permissions.py @@ -35,6 +35,8 @@ def has_permission(self, request, view): workspace_id = str(view.kwargs.get('workspace_id')) user = request.user workspace_users = cache.get(workspace_id) + logger.info(f'User: {user}') + logger.info(f'Workspace users: {workspace_users}') if workspace_users: return self.validate_and_cache(workspace_users, user, workspace_id, request.data) diff --git a/requirements.txt b/requirements.txt index 4e372123..0c001b29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ future==0.18.2 fyle==0.37.2 fyle-accounting-mappings==1.34.8 fyle-integrations-platform-connector==1.39.1 -fyle-rest-auth==1.7.3 +fyle-rest-auth==1.7.4 flake8==4.0.1 gevent==23.9.1 gunicorn==20.1.0