With the current packaging architecture, I may get difficult to assign user privileges to specific functions or modules. Maybe the EXPath mailing list could be another target for discussing this (cc'ed/hi to Florent.. did you maybe have some plans on this issue?).
Regarding our own thoughts on reworking package management, we thought about introducing XQuery and Java annotations to restrict or extend privileges for specific functions or (?) complete modules. What do you think about that?
Christian ___________________________
On Tue, Mar 20, 2012 at 11:16 PM, Charles Duffy charles@dyfis.net wrote:
Howdy --
The ability to call arbitrary Java code from XQuery being accessible only to users with ADMIN privileges is generally sensible for obvious reasons.
However, it would be useful for users with ADMIN privileges to be able to install packages in such a way as to make classes contained therein accessible to less-privileged users.
Does such a mechanism already exist? If not, thoughts on feasibility?