logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
stirling  
#1 Posted : Monday, December 4, 2017 10:43:24 AM(UTC)
stirling


Rank: Newbie

Joined: 10/26/2012(UTC)
Posts: 2

Thanks: 2 times
Hi, I would like to know if it is possible to make a Support generated code read only and prevent support staff from changing them? Our codes have been set to randomly produce 6 digit codes, but some support staff are shorting them to say 3 digits. Thanks.
kemartinez1  
#2 Posted : Monday, December 4, 2017 3:41:04 PM(UTC)
kemartinez1


Rank: Administration

Joined: 3/28/2016(UTC)
Posts: 22
United States
Location: Raleigh

Was thanked: 5 time(s) in 4 post(s)
Hello,

It's not possible today to set the session code to read-only, but I will register this as a feature request. The only way to lock down the session code is to remove the EditSession permission under the user role you wish to restrict.

To register any future requests you may have, please visit http://control.product.connectwise.com/
ScreenConnect Team
thanks 1 user thanked kemartinez1 for this useful post.
stirling on 12/5/2017(UTC)
Ben B  
#3 Posted : Tuesday, December 5, 2017 3:37:04 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 278

Thanks: 1 times
Was thanked: 58 time(s) in 54 post(s)
Originally Posted by: stirling Go to Quoted Post
Hi, I would like to know if it is possible to make a Support generated code read only and prevent support staff from changing them? Our codes have been set to randomly produce 6 digit codes, but some support staff are shorting them to say 3 digits. Thanks.


You could achieve this functionality by way of a very simple extension. All this does is disable the code input for support sessions; however, a support technician could get around this by updating the input's value via the browser console. Just create a new extension on your instance of Control and pop the following content into the specified files:

Manifest.xml:
Code:

<?xml version="1.0" encoding="utf-8"?>
<ExtensionManifest>
	<Version>1.0</Version>
	<Name>Disable session code input</Name>
	<Author></Author>
	<ShortDescription>Disable the session code input field</ShortDescription>
	<Components>
		<ClientScriptInitializer SourceFile="Initializer.js" MinProductVersionInclusive="6.3" />
	</Components>
	<Settings>

	</Settings>
</ExtensionManifest>


Initializer.js:
Code:

SC.event.addGlobalHandler(SC.event.InitializeTab, function (eventArgs) {
	var sessionType = eventArgs.sessionType;
	
	if (sessionType == SC.types.SessionType.Support && $('.EditInvitationCodeBox'))
		$('.EditInvitationCodeBox').disabled = true;
});


More information about how to create a custom extension is located here: https://docs.connectwise...ension_development_guide

Edited by user Wednesday, December 6, 2017 4:16:13 PM(UTC)  | Reason: Not specified

ScreenConnect Team
thanks 1 user thanked Ben B for this useful post.
stirling on 12/6/2017(UTC)
stirling  
#4 Posted : Wednesday, December 6, 2017 3:37:49 PM(UTC)
stirling


Rank: Newbie

Joined: 10/26/2012(UTC)
Posts: 2

Thanks: 2 times
Thanks Ben B, that has done the trick... Cheers
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.