hi all
I have a question ... can I set a expire time for customer ??? that means I wanna set a time to customer for access system and after finished time customer can not login to system. is it possible ?
Thanks a lot
customer expire time
Moderator: crythias
-
- Znuny newbie
- Posts: 7
- Joined: 09 Mar 2011, 11:22
- Znuny Version: 3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: customer expire time
Not through OTRS, but you could block at apache by IP address.
Would this be permanent or "time of day"?
Would this be permanent or "time of day"?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 7
- Joined: 09 Mar 2011, 11:22
- Znuny Version: 3
Re: customer expire time
thanks for yours answer
yes we want be permanent ... your suggestion is good if we knows all ip of all customer ... we want system do it automatically if customer support time finished then he/she don't has access to send ticket....
is it possible ? or can do it with any application ?
yes we want be permanent ... your suggestion is good if we knows all ip of all customer ... we want system do it automatically if customer support time finished then he/she don't has access to send ticket....
is it possible ? or can do it with any application ?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: customer expire time
So you're saying that you don't want the customer to log in at all to otrs after completion of one ticket?
Or you're saying that the login is expiring after service contract expires, for instance?
Hm..
What I'd think about is creating a customercontract queue that has one ticket per customer, that is pending autoclose.
Then I'd create a TicketEvent (code) that listens for StateUpdate, then checks for the customercontractqueue. If that exists, get the customer from the ticket, then invalidate his login via
CustomerUserUpdate()
to update customer users
$CustomerUserObject->CustomerUserUpdate(
Source => 'CustomerUser', # CustomerUser source config (Might be CustomerUser1 or CustomerUser2)
ID => 'mh' # current user login Who logs the ticket
UserLogin => 'mhuber', # this will come from the ticket
ValidID => 0,
UserID => 123, #a numeric value of someone who can make the change. 1 might be useable.
);
Or you're saying that the login is expiring after service contract expires, for instance?
Hm..
What I'd think about is creating a customercontract queue that has one ticket per customer, that is pending autoclose.
Then I'd create a TicketEvent (code) that listens for StateUpdate, then checks for the customercontractqueue. If that exists, get the customer from the ticket, then invalidate his login via
CustomerUserUpdate()
to update customer users
$CustomerUserObject->CustomerUserUpdate(
Source => 'CustomerUser', # CustomerUser source config (Might be CustomerUser1 or CustomerUser2)
ID => 'mh' # current user login Who logs the ticket
UserLogin => 'mhuber', # this will come from the ticket
ValidID => 0,
UserID => 123, #a numeric value of someone who can make the change. 1 might be useable.
);
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 7
- Joined: 09 Mar 2011, 11:22
- Znuny Version: 3
Re: customer expire time
yes we want some customer just access to send 1 ticket and after close the ticket she/he can not log in to the system ... and some customer have a service that define for a period time for example 6 month or 1 year it depended to care that she/he wants.
i don't understand about your solution crythias what can i do for solve this ???
so thanks for your answer
i don't understand about your solution crythias what can i do for solve this ???
so thanks for your answer