acs-permissions-procs.tcl

  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix for bug 1433, PermissionCacheP used memoize on non list thing which would break with empty object_id etc

Fixed another typo in permissions procs

Fixed bug with thread-level caching of permissions: Typo in proc definition

Caching results of permission checks within one thread -- typically avoids 3-6 DB hits per page

Committed experimental fix for untrusted_user_id problem mentioned in forums posting at http://openacs.org/forums/message-view?message_id=152083

Slight hack to make HTMLified text not have whitespace at the end

  1. … 1 more file in changeset.
Allow passing in of party_id to write_permission_p and require_write_permission

make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
Added permission::write_permission_p and permission::require_write_permission, which tests if the user has write, or create and is the creation_user

    • -122
    • +167
    ./acs-permissions-procs.tcl
More for bug #814.

  1. … 6 more files in changeset.
Another part of the fix for bug #814.

  1. … 1 more file in changeset.
Lars added proc util_get_current_url. Removing updates of nsv apm_library_mtime that now happen in apm_source proc. Removing proc apm_mark_packages_for_bootstrap that was used to avoid server restart after package installation (we are now requiring server restart). Moving flushing of package_installed_p cache to happen at end of apm_package_install proc instead of the beginning. Adding parameter PermissionCacheTimeout that determines the lifetime of the permissions cache.

  1. … 7 more files in changeset.
adding missing return statement in permission_p

request-processor-init.tcl

  1. … 2 more files in changeset.
add @see comments for most deprecated functions

  1. … 9 more files in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
Slightly simplified some permissions checks, updated and documented ad_form

  1. … 3 more files in changeset.
adding permission::inherit_p api

  1. … 1 more file in changeset.
adding a new parameter api that is somewhat cleaner and uses named parameters

  1. … 8 more files in changeset.
cleaned up permissions api and added a few useful functions

  1. … 2 more files in changeset.
factored a few permissions functions so that i can use them elsewhere

  1. … 7 more files in changeset.

added obvious permission procs that weren't there before

  1. … 2 more files in changeset.
Make ad_require_permission return proper HTTP headers (SDM patch #89)

OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +72
    ./acs-permissions-procs.tcl
  1. … 1321 more files in changeset.