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 2019-04-30 09:53:38

donkeyderby
Member
Registered: 2015-09-23
Posts: 6

replace end user interface

Bonjour à tous,

Novice here.

I'd like to add a few tabs to the end user interface (just to show simple pages (A screen with the company SLA, Service Catalogue, Application Catalogue, etc)).

I've gone down the API route, created my login page, the end user can now login and now I want to list the tickets... I can only get out UID and not the name (when logged in as self service user).. this is hard (for me)

I don't want to re-invent the wheel.  The user interface that comes standard with GLPI is great, I just want to add to it.

My question...

Does anyone already have a 'naked' (PHP) user interface that does everything the GLPI user interface does, that I can css to my hearts content?

Bien Cordialement,

David

Offline

#2 2019-05-02 13:04:47

donkeyderby
Member
Registered: 2015-09-23
Posts: 6

Re: replace end user interface

ok to convert UID to name it looks like you need a session from an admin.
I let the end user login as normal but at the same time I hide the fact that an admin also logs in automatically.
When the end user requests a persons name he uses the admin session and not his self service session.
I'm slowly continuing to build the end user replacement, but again, if anybody has already done this, I'm all ears.

Offline

#3 2019-05-02 13:59:03

Jean-Christophe
Moderator
Registered: 2007-08-22
Posts: 734

Re: replace end user interface

I've seen something like that a few weeks ago...

A specific user with only read access to user objects is used to get the user token. Then the user token is used to authenticate and get all the information you need.

Offline

Board footer

Powered by FluxBB