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

Workfiles tool: Artists can see users #640

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Fixed implementation of users model in workfiles tool.

Additional info

Only admin and manager users can see all users, other users can see only other users assigned to same projects. It is necessary to add project name filtering to users GraphQl, which requires fix in ayon-python-api, for now the code from ayon api was copied next to users model.

Testing notes:

  1. Create artist user and assign him to a project.
  2. Start AYON launcher as the user.
  3. Use host integration of your choice and open workfiles tool.
  4. It should not crash, and should show user full name.

@ynbot ynbot added size/S type: bug Something isn't working labels Jun 12, 2024
@iLLiCiTiT iLLiCiTiT changed the title Workfiles too: Artists can see users Workfiles tool: Artists can see users Jun 12, 2024
@fabiaserra
Copy link
Contributor

I can confirm this now works, thank you @iLLiCiTiT !

Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works well in Nuke

@iLLiCiTiT iLLiCiTiT merged commit b173b4a into develop Jun 14, 2024
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/workfiles-tool-shows-users-for-artists branch June 14, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants