Check for 'friends' permission value for backward compatibility.
Patch by afuna.
diffs (12 lines):
diff -r acf4be7acc4a -r a4aafb942b4d cgi-bin/taglib.pl
--- a/cgi-bin/taglib.pl Tue Aug 18 16:27:18 2009 +0000
+++ b/cgi-bin/taglib.pl Tue Aug 18 15:37:54 2009 -0500
@@ -507,7 +507,7 @@ sub _remote_satisfies_permission {
return 1;
} elsif ($perm eq 'none') {
return 0;
- } elsif ($perm eq 'protected') {
+ } elsif ( $perm eq 'protected' || $perm eq 'friends' ) { # 'friends' for
backwards compatibility
return $u->trusts_or_has_member( $remote );
} elsif ($perm eq 'private') {
return LJ::can_manage($remote, $u);
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog