Index: openacs-4/packages/acs-core-docs/www/permissions-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/permissions-design.html,v diff -u -r1.36.2.1 -r1.36.2.2 --- openacs-4/packages/acs-core-docs/www/permissions-design.html 2 Mar 2019 19:30:05 -0000 1.36.2.1 +++ openacs-4/packages/acs-core-docs/www/permissions-design.html 3 Sep 2021 09:15:22 -0000 1.36.2.2 @@ -157,8 +157,7 @@ user perform this method on this object?" One returns true or false, the other presents an error page.
To receive a true or false value, Tcl code should call:
permission::permission_p -object_id $object_id -party_id $user_id -privilege $method -
If the user_id
argument is left out, then the currently logged in
-user is checked. To create an error page, Tcl code should call:
+
If the user_id
argument is left out, then the currently logged-in user is checked. To create an error page, Tcl code should call:
permission::require_permission -object_id $object_id -privilege $method
These procedures are defined in acs-permissions-procs.tcl
.