Index: openacs-4/packages/acs-subsite/www/user/portrait/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/user/portrait/index.tcl,v diff -u -r1.15.2.2 -r1.15.2.3 --- openacs-4/packages/acs-subsite/www/user/portrait/index.tcl 1 Sep 2022 12:17:35 -0000 1.15.2.2 +++ openacs-4/packages/acs-subsite/www/user/portrait/index.tcl 1 Sep 2022 12:28:22 -0000 1.15.2.3 @@ -38,6 +38,11 @@ } if { $current_user_id == $user_id } { + # + # When the user is myself, we will show links to administrate the + # portrait picture. In this case we also make sure that we have + # write permissions on our own user. + # set admin_p 1 permission::require_permission -object_id $user_id -privilege "write" } else {