Hi,
Is it possible to use the REST api to see if a user is registred as admin in Fisheye/Crucible ?
This one doesn't show: rest-service-fecru/admin/users/<user>
{ "name": "<user>", "displayName": "<name>", "email": "<email>", "type": "LDAP", "crucible": true }
Hi Claus,
This is not available currently in the REST api. There's a feature request for this in our issue tracker. Please watch that for updates.
Hi Claus,
The REST API in fact doesn't show if the user is admin or not, but you should be able to retrieve this information directly from your config.xml file under the FISHEYE_INST directory. When a user is set as administrator, it's added to a list within this file, shown as follows:
<admins><system-admins><user>grefosco</user></system-admins></admins>
Regards,
Gustavo Refosco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Gustavo,
I know that this info is present in the config.xml file on our linux box, which we can't fetch programmatically....
It would be nice to have this feature via the REST API - of course only information available via the API to admin roles
Kind regards
Claus Nielsen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.