Limiting the number of variables that one can use in twiki

46 Views Asked by At

Can I somehow limit the number of variables that a user can have access to somehow. Thanks in advance for replying.

2

There are 2 best solutions below

0
On BEST ANSWER

I finally got the answer to the problem. Read the discussion for further details.

0
On

Your Main.TWikiPreferences and your WebPreferences allow you to set a variable called FINALPREFERENCES. You can set this to a list of variables. These variables are locked. If, for example, the FINALPREFERENCES in your TWikiPreferences mention the variable DOCWEB, this variable cannot be modified in any WebPreferences, topics or user preferences.

You can read more about preferences and access control in TWiki (the same topics should be present in your local TWiki installation).

Note: I'm a Foswiki admin, I do not use TWiki anymore. While the mechanism described is the same in Foswiki and TWiki, variables and topics might have slightly different names and I am not 100% sure if I have used the correct TWiki names in the above. Nevertheless, you should be abled fo find such details when you follow the links provided.