Prevent data driven VTB

felladin
Tera Guru

We have an issue where data driven VTB will make it possible for users to change field values on forms, that go against policy. The reason this is, is that a lot of limitations are bound to Client Scripts which are not honoured in VTB.

We removed the "Show Visual Task Board" option on tables (demands list v2), but in Istanbul there is now a button on the VTB start page that makes this even easier.

Are we the only ones that want to allow Freeform boards but not Data driven, as the latter is not locked down enough for end users?

Has anyone of you fixed the new "New" -button to only show Freeform option?

With regards

Anton Lindblad

16 REPLIES 16

Rashmi Bansal
Mega Guru

Hi Anton,

Create Business rule on VTB Board table and restrict the access by using canRead on the tables listed. if person is having access then VTB can be created else it will not. you can abort the action for which canRead returns false.

Thanks,

Rashmi

 

 

shakeelw
Tera Contributor

      

 

(function executeRule(current, previous /*null when async*/) {

 // Add your code here
 if(!(gs.hasRole('admin'))){
  gs.addErrorMessage("You are not authorized to create this type of Board!");
  current.setAbortAction(true);
 }

})(current, previous);