• last updated 20 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Flush also the threaded cache whenever we flush the permission cache, so that one does not need to call this private api directly

avoid array notation for per_thread caches to ease flushing

  1. … 5 more files in changeset.
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
Implement a flush method for ::acs::acs::LockfreeCache and use it to reimplement permission::permission_thread_cache_flush

This fixes ad_proc_permission_grant_and_revoke test case

  1. … 1 more file in changeset.
acs::per_request_cache: standardize per-request caching

- added per-request cache verfsy similar to acs::per_thread_cache

- use per-request-cache on several occasions

- bump version number of acs-tcl to 5.10.0d35

  1. … 9 more files in changeset.
use always acs::permission_cache eval instead of code before acs-cache-procs.tcl

fix for issue #3406: honor PermissionCacheTimeout

implement cache partitioning for permission_cache

  1. … 1 more file in changeset.
Fix parameter names in proc doc

Whitespace changes

  1. … 1 more file in changeset.
flag created permission cache via namespaced variable

  1. … 1 more file in changeset.
Hotfix which makes vanilla instance install again

Removed redundant cache creation

Fix else syntax

permission check reform (part 2): provide a separate cache for permission checking

permission check reform (part 1): provide API for permission cache

  1. … 16 more files in changeset.
Fix typos

  1. … 31 more files in changeset.
remove not referened xql queries and files

move queries to deprecated-procs.xql

  1. … 10 more files in changeset.
make code uniform

Improve wording of notice in error log

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- add [ad_conn ajax_p] to check, whether the request was an ajax requests (assumption: ajax-request sets header-field -Requested-With: XMLHttpRequest")

- extend permission::require_permission to omit redirection of unauthenticaed users to the login page for ajax requests

  1. … 1 more file in changeset.
Use namespace qualifiers instead of the Tcl "global" command

- improve comments

- don't rely on abbreaviation "int"

- improve backward compatibility: although permission_p is boolean, the results of often compared with literal "0" and "1", so return an integer as well

- Add SQL schema acs_permission to allow to call sql-functions for

Oracle and PostgreSQL in exactly the same way

- Move postgres permission function to the new neamespace and provide

stubs for backward compatibility

- New function permission::get_parties_with_permission

to support a restricted form of reverse lookup for permssions

in order to reduce the dependencies on

acs_object_party_privilege_map for PostgreSQL

- make upgrade scripts more robust (support repeated loading)

- bump verison number of acs-tcl to 5.9.1d9

- bump version number of acs-kernel to 5.9.1d11

  1. … 12 more files in changeset.
- move deprecated procs to acs-outdated

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.