Assign an user to a Matillion project without importing the project (only accessControlList)

Hi,

 

I would like to create user and give accesses to projects via Rest API. I succeeded to create user but it's impossible to give accesses to projets without importing all projects. I used the Rest Call http://localhost:8080/rest/v1/group/name/mygroup/project/import?ignoreUnresolved=true&disableSchedules=true&ignoreUnresolvedCDC=true&disableCDC=true&setUpSource=true&ignoreUnresolvedForCDCTask=true&setUpSourceForCDCTask=true&onConflict=OVERWRITE with data :

{

                "objects": [

                    {

                        "name": "myproject",

                        "environmentExports": {

                            "objects": []

                        },

                        "variables": [],

                        "accessControlList": {

                            "admins": [

                                "ec2-user"

                            ],

                            "usersWithAccess": [

                                "test"

                            ],

                            "publicAdmins": false,

                            "publicUsers": false

                        }

                    }

                ]

}

 

The request works but the project is erased. Can you tell me if you know another way is available to give accessess without overwriting the project.

 

Regards,

Hi @moretto331606234246098​, I believe I understand what you are looking to do. You are correct in that there is currently no easy way to change or update just the access for users at the project level without importing a new project. I would post the suggestion on the Ideas Portal to see if an addition could be made to the API to include permissions on the project. Sorry, I couldn't be of more help.