Jump to content

Query project user access using api


Pol Monroig

Recommended Posts

I would like to know how can I query the access to each project using the ftrack api. What I mean by access is this https://help.ftrack.com/en/articles/3601282-managing-project-access ,not the roles but the access to each specific project by user. I am using the javascript api but I think python would be the same, the problem is creating the specific query. 

I appreciate the help! Thanks

Link to comment
Share on other sites

  • 1 month later...

Hello, thanks for your reply, that seems to work in Python although in javascript I do get an error when running the query. I only get the error when asking for the user attribute, without it it does return me a list of security roles but just with Ids

session.query('select name,user_security_role_projects.user from Project');

"No attribute u'user' exists for schema u'UserSecurityRoleProject'."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...