You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-12-14 18:00:17

lordbat
Member
From: SPAIN
Registered: 2016-02-12
Posts: 126

Profile Permission to get Group names

Hi, i have a question.

I am trying to get the list of the groups through API REST like this.

http://server/glpi/apirest.php/group?session_token=v2asof4oqptud9qmd800lvllc1&app_token=bom7naafpifuaqtdi8i1mvqzlt1mfyrtskp3taue

when i try with super-admin rigths works fine, Example of json i get:

{
id: 1,
date_creation: null,
entities_id: 3,
is_recursive: 0,
name: "Makro",
comment: "",
ldap_field: null,
ldap_value: null,
ldap_group_dn: null,
date_mod: "2018-12-10 12:05:05",
groups_id: 0,
completename: "Group 1",
level: 1,
ancestors_cache: "[]",
sons_cache: "{"1":"1"}",
is_requester: 1,
is_assign: 0,
is_task: 1,
is_notify: 1,
is_itemgroup: 1,
is_usergroup: 1,
is_manager: 1,
links: [
{
rel: "Entity",
href: "http://server/glpi/apirest.php/Entity/3"
}
]
},

but with other profile i got "ERROR_RIGHT_MISSING".

My question is, where is the correct right to give access on other profile on group visualization. 

Thanks!


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
[Prod] GLPI 9.3.4 - Ubuntu 16.04 LTS Server ------- [TEST] GLPI 9.4.5 - Ubuntu Server 16.04 LTS

Offline

#2 2019-02-26 16:32:08

mohamed.osama770
Member
Registered: 2018-09-16
Posts: 4

Re: Profile Permission to get Group names

You can add a Technician profile to the same user without changing his default profile.

Offline

Board footer

Powered by FluxBB