Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API 9.3.3] I CAN'T GET NO SATISFACTION : right issue #5014

Closed
ladenree76000 opened this issue Dec 3, 2018 · 1 comment

Comments

@ladenree76000
Copy link

commented Dec 3, 2018

I can't get no satisfaction with API.
API returns :
Array ( [0] => ERROR_RIGHT_MISSING [1] => Vous n'avez pas les droits requis pour réaliser cette action. )

I Tried :
apirest.php/Ticketsatisfaction/
apirest.php/Ticket/MyTicketID/Ticketsatisfaction/

I checked with GUI interface : i can see Satisfaction tab for this ticket and I can answer
I checked My profile ( getfullsession => glpiactiveprofile is the same that with GUI)
I checked entity : OK

Expected behavior
get apirest.php/Ticketsatisfaction/ or apirest.php/Ticket/MyTicketID/Ticketsatisfaction/ should return satisfaction

**GLPI setup **

GLPI 9.3.3 (/glpi93 => /var/www/html/glpi93) Installation mode: TARBALL
(but same behaviour on GLPI9.1.6)

Operating system: Linux hdvapp17-test 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 PHP 7.0.32-0ubuntu0.16.04.1 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zlib) Setup: max_execution_time="180" memory_limit="512M" post_max_size="901M" safe_mode="" session.save_handler="files" upload_max_filesize="800M" Software: Apache/2.4.18 (Ubuntu) (Apache/2.4.18 (Ubuntu) Server at hdvapp17-test Port 80) Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134 Server Software: Ubuntu 16.04 Server Version: 10.0.36-MariaDB-0ubuntu0.16.04.1 Server SQL Mode: Parameters: ocs@localhost/glpi93 Host info: Localhost via UNIX socket

@ladenree76000 ladenree76000 changed the title [API 9.3.2] I CAN'T GET NO SATISFACTION : right issue [API 9.3.3] I CAN'T GET NO SATISFACTION : right issue Dec 3, 2018

@orthagh orthagh added the bug label Dec 5, 2018

orthagh added a commit to orthagh/glpi that referenced this issue Dec 5, 2018

@orthagh orthagh added this to the 9.4.0 milestone Dec 5, 2018

trasher added a commit that referenced this issue Dec 5, 2018

@trasher trasher closed this Dec 5, 2018

@ladenree76000

This comment has been minimized.

Copy link
Author

commented Dec 6, 2018

thanks.
(it also works on 9.3.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.