the difference is subtile; the java doc s complete... but I forget :-)


On Thu, Mar 20, 2014 at 12:29 PM, Dmitriy Shabanov <notifications@github.com
> wrote:

> In src/org/exist/backup/xquery/ListBackups.java:
>
> > @@ -69,6 +69,10 @@ public ListBackups( XQueryContext context )
> >
> >      public Sequence eval( Sequence[] args, Sequence contextSequence ) throws XPathException
> >      {
> > +        if(!context.getEffectiveUser().hasDbaRole()) {
>
> My believe, thing over complicated here ... why we have getEffectiveUser &
> getRealUser? what kind of security is it? There was getSubject for a long
> time, why we can't use it?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/eXist-db/exist/pull/173/files#r10790847>
> .
>



-- 
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624