Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Private project server actions #1899

Merged
merged 3 commits into from
Aug 5, 2021

Conversation

iLLiCiTiT
Copy link
Member

Issue

Ftrack event server may not have access to private projects which may be confusing for project manager and it may crash few event handlers.

Changes

  • server actions should not crash if entities are not queried from private project
  • added action Missing permissions which is shown only if someone tries to show actions on private project for which server api key does not have permissions

Notes

If you don't like messages or titles in new action don't ask and modify :)

How to test

Easiest is with using api API key.

  • create new api API key in ftrack (with API role)
    image
  • run ftrack event server using the api key
  • create private project and try to show actions on it
  • you should see action Missing permissions
    image

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 4, 2021
@iLLiCiTiT iLLiCiTiT added backend type: enhancement Enhancements to existing functionality module: Ftrack labels Aug 4, 2021
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

@jakubjezek001 jakubjezek001 removed the request for review from mkolar August 5, 2021 12:32
@iLLiCiTiT iLLiCiTiT merged commit 1598c56 into develop Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants