Is there an existing issue for this?
Description
Current Behavior
If a user has a sole freelancer role on any project, the sync loop stops with a 403.
Expected Behavior
The sync loop should skip the project as it is a 403 and then continue with the other projects accordingly.
Plus write a warning message that the permissions are not sufficient for project x.
|
if response.status_code not in [200, 204]: |
Here a 403 should not raise but warn and continue.
Steps To Reproduce:
- Create a test user
- add some projects
- set the role to Freelancer on one project
- start the tray check the output
Additional context:
Version
1.2.5
What platform were you running when you found the bug?
Windows
Relevant log output:
*** WRN: >>> { SiteSyncThread }: [ Unhandled except. in sync loop, stopping server ]
==============================
Cannot get representations for sync with code 403
==============================
Is there an existing issue for this?
Description
Current Behavior
If a user has a sole freelancer role on any project, the sync loop stops with a 403.
Expected Behavior
The sync loop should skip the project as it is a 403 and then continue with the other projects accordingly.
Plus write a warning message that the permissions are not sufficient for project x.
ayon-sitesync/client/ayon_sitesync/addon.py
Line 1405 in 6377955
Here a 403 should not raise but warn and continue.
Steps To Reproduce:
Additional context:
Version
1.2.5
What platform were you running when you found the bug?
Windows
Relevant log output: