analysispreservation.cern.ch icon indicating copy to clipboard operation
analysispreservation.cern.ch copied to clipboard

schemas: update /schemas /collections/.. endpoint for permissions

Open pamfilos opened this issue 2 years ago • 0 comments

We should make the response structure for the collections to be like:

{
    "deposit-admin": {
        "roles": [],
        "users": [
            {
                "email": "[email protected]",
                "profile": {}
            }
        ]
    },
    "deposit-read": {
        "roles": [],
        "users": [
            {
                "email": "[email protected]",
                "profile": {}
            },
            {
                "email": "[email protected]",
                "profile": {}
            }
        ]
    },
    "deposit-update": {
        "roles": [],
        "users": [
            {
                "email": "[email protected]",
                "profile": {}
            }
        ]
    }
}

pamfilos avatar May 22 '23 12:05 pamfilos