• last updated 3 hours ago
Constraints: committers
Constraints: files
Constraints: dates
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.
- mark remaining two functions of the ad_* permission interface as deprecated

- change 'util_memoize "..."' into 'util_memoize [list ...]' as pointe out by Frank for security reason and correctness

  1. … 6 more files in changeset.
- fix for bug #2398

- fix for #2230 (using the optimization suggested by Nagita Karunaratne)

Rewriting acs_permission__permission_p function to use recursive queries ( available in PG since 8.4 ) and modifiying

queries around core packages to avoid checking persmissions using a subquery on the acs_object_party_privilege_map view.

  1. … 14 more files in changeset.