Project

General

Profile

Actions

Feature #5006

closed

replace <authorized> with @eval-authorized

Added by Reynaud Sylvain about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assigned To:
Category:
Engine
Target version:
Start date:
09/11/2013
Due date:
% Done:

100%

Estimated time:

Description

Main differences are:
  • @eval-authorized is evaluated as a boolean instead of a list of users.
  • XPath function user() takes enumerated value (IP|DN|LOGIN) as optional parameter, and throws exception with other parameter values.
  • XPath function user() without parameter still returns the list of userIds.
  • userId for inter-views communication is "127.0.0.1".
  • default value for attribute @eval-authorized is "true()".

Examples:

user('IP') = '127.0.0.1'
view('authorized', user('DN'))
view('vo-members')/root/vo[@id=path('vo')]/user[@dn=user('DN')]

Actions

Also available in: Atom PDF