Skip to main content

Hi everyone,

 

This question is about the detailed permissions user/role management interface.

We’ve been facing issues finding all permissions required to run a specific workspace, like allowing services, access to shared ressources data and to specific connexions. 

 

The question is: Is there a hint to grant or list all these needed permissions to run a specific workspace ? 

 

Thank’s in advance.

 

Kevin

 Hello,

The owner of the workspace or superuser role will have access to run/manage all FME objects but for all other users you will need to manually provide granular object permission ofor all associated FME objects involved in the translation] to the user or role. 

AD_4nXe6COwFe63mg8dIjfAXH2geIhhjUgShxfCJHlKzJLgjfu3ZzKdG6SXP3O0j6LMwPnc2dfKu3UOS8JbucURRmKCvNPDen0VgSo0Az4KuNl0hC2aMp-WC_Eka1saJIqUz3eokFErb-T9qDPkRWcrrhX8d902p?key=iODVyfAEuB6IxBJgfaAQNQ

You can also go to “Items” section to see all objects categorized and share with other users and roles.

AD_4nXddgR0USUYDQ9U7yR13hpqYXFaokdC_RR1omfjZx-FbJmpY4CzJPep4IWqg8v3UPTFnHDa8IErDjhhwxOWA7oB-kjf4T3gHGEU6Vw6M7RzBn_oqEXxEPVVRsq7sYV-RiEeGFM1gZ98TzQ1ARO5ieIqZTFw?key=iODVyfAEuB6IxBJgfaAQNQ

To retrieve dependencies of an item you could use the “dependencies” API V4 sFME Flow REST API V4 is currently in Technology Preview]-

AD_4nXdovKAOOWtra4_2igk-MFMFOaGmh3QF-_odZLELWyiHsMhmbR4tBVkNeAeRrwohl8CBOxrWqTyRKAvDYZIM3TgR0PVk2H8hTLhdpplHsv3Ggvj87VIKwxzdqzjun8uA5WWPntcCb7WltcoEpSAeswqUdoSX?key=iODVyfAEuB6IxBJgfaAQNQAD_4nXd-uUTFqzqj4AHi_6Pq5Po2ftsh1GnJFO79Zij8utSazX882B6QWD1pTtID9N_wJxcaAhpdXVy-IdqlX5UETB0CVxGE-fK9g7VE4GE31eGetJ46LKmgLm7MUKtpfRvYqW7XFMr7KM9Ku-16M31UTB9x82Qk?key=iODVyfAEuB6IxBJgfaAQNQ

 


A hint - if you create a workspace app and don’t require authentication - then a token for the app will get created and it should list the required permissions. 

It might not contain all of them, however, but it’s a good start and shouldn’t contain more than it needs.

There must be some logic there as the UI is able to figure out what is needed  so you could potentially try to recreate it

 


Thank’s for your answers @virtualcitymatt @merlinegeorge.

I succeeded to realize both solutions:

  1. dependencies query:
    1. Get Deployment parameters and Connexions
    2. Doesn’t get third part Workspaces that need to be run by the queried workspace
    3. Doesn’t get needed services (like Job submitter, Data dowload...)
  2. Workspace app:
    1. Get Repositories that are needed (not tested on third part workspaces that are run by the main workspace)
    2. Get needed Services
    3. Doesn’t get Deployment parameters and Connexions

A mix of both solutions give a start !


Reply