Mercurial > hg > LGDataverses
view scripts/search/tests/grant-finch-admin-on-spruce @ 14:be7787c36e58 default tip
new: nofity LGSercies for deleted files
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 02 Nov 2015 16:41:23 +0100 |
parents | a50cf11e5178 |
children |
line wrap: on
line source
#!/bin/bash . scripts/search/assumptions curl -s -X POST -H 'Content-Type: application/x-www-form-urlencoded' "http://localhost:8080/api/roles/assignments?username=$FINCH_USERNAME&roleId=$ADMIN_ROLE&definitionPointId=$SPRUCE_DATAVERSE&key=$SPRUCEKEY" | jq ' .data | {assignee,_roleAlias}'