acs-permissions-procs.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
HTML strict cleanup

  1. … 1 more file in changeset.
remove deprecated calls to ad_parameter

  1. … 11 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
change how permission::cache_p is defined so it does not break ttrace

change ad_verify_and_get_user_id to ad_conn user_id, change ad_maybe_redirect_for_registration to auth::require_login, make some db_ and dt_ function -public

  1. … 689 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.