Difference: TWikiFuncDotPm (12 vs. 13)

Revision 1315 Jan 2012 - TWikiContributor

Line: 1905 to 1905
 DEPRECATED since 1.2 - use getPreferencesValue instead to determine what permissions are set on the web, for example:
Changed:
<
<
foreach my $type qw( ALLOW DENY ) { foreach my $action qw( CHANGE VIEW ) {
>
>
foreach my $type ( 'ALLOW', 'DENY' ) { foreach my $action ( 'CHANGE', 'VIEW' ) {
  my $pref = $type . 'WEB' . $action; my $val = getPreferencesValue( $pref, $web ) || ''; if( $val =~ /\S/ ) {
View topic | History: r14 < r13 < r12 < r11 | More topic actions...
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiFuncDotPm.